We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47741e3 + 9683dee commit 50fdbc8Copy full SHA for 50fdbc8
Framework/Core/src/DeviceSpecHelpers.cxx
@@ -1118,6 +1118,10 @@ void DeviceSpecHelpers::dataProcessorSpecs2DeviceSpecs(const WorkflowSpec& workf
1118
{
1119
// Always check for validity of the workflow before instanciating it
1120
DeviceSpecHelpers::validate(workflow);
1121
+ // In case the workflow is empty, we simply do not need to instanciate any device.
1122
+ if (workflow.empty()) {
1123
+ return;
1124
+ }
1125
std::vector<LogicalForwardInfo> availableForwardsInfo;
1126
std::vector<DeviceConnectionEdge> logicalEdges;
1127
std::vector<DeviceConnectionId> connections;
0 commit comments