fix failing pipeline runs
Validate Operations / validate-operations (push) Failing after 2h17m50s

This commit is contained in:
NiccoloN
2026-09-07 11:05:47 +02:00
parent 62a38bdb76
commit a6ebd047b5
2 changed files with 32 additions and 10 deletions
+8
View File
@@ -130,6 +130,14 @@ int main() {
3, 3, 3, 0,
};
std::string pipelineError;
ComputeGraph preparationGraph = graph;
ResidentWeight extraWeight;
extraWeight.opaqueLane = graph.nodes.size();
preparationGraph.nodes[2].residentWeights.push_back(extraWeight);
auto preparation = preparePipelineWorkload(
preparationGraph, logicalSchedule, 2, physical, pipelineError);
assert(mlir::succeeded(preparation));
assert(*preparation == PipelineWorkloadPreparation::Ready);
ComputeGraph emptyGraph;
MergeScheduleResult emptySchedule;
emptySchedule.processorCount = 2;