Skip to content
Snippets Groups Projects
Commit 686f624c authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fix scheduling with Memorize

parent d125c3d3
No related branches found
No related tags found
2 merge requests!318[Upd] release verision 0.5.0,!275Fix scheduling with Memorize
Pipeline #63105 passed
......@@ -989,7 +989,7 @@ Aidge::Scheduler::getPriorProducersConsumers(const std::shared_ptr<Node>& node)
prior.requiredProducers.insert(parent.first);
prior.priorConsumers.insert(node);
}
else if (parent.first->type() == Memorize_Op::Type) {
else if (parent.first->type() == Memorize_Op::Type && parent.second == 1) {
// Break cycles
return PriorProducersConsumers(); // not scheduled
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment