diff --git a/src/scheduler/Scheduler.cpp b/src/scheduler/Scheduler.cpp index dc0768d2b6f7a1dd46fc0a8523b950011f7dcf5d..bf46f161ce26936adc888791fe5823715099eacf 100644 --- a/src/scheduler/Scheduler.cpp +++ b/src/scheduler/Scheduler.cpp @@ -107,6 +107,7 @@ void Aidge::SequentialScheduler::generateScheduling(bool verbose) { // Push consumers in the list of nodes to run and update the consumer producer system for (const auto& runnable : runnableConsumers) { + if (verbose) printf("Runnable: %s\n", (runnable->type() + "_" + std::to_string(reinterpret_cast<uintptr_t>(runnable.get()))).c_str()); runnable->getOperator()->updateConsummerProducer(); mStaticSchedule.push_back(runnable); } @@ -178,6 +179,7 @@ void Aidge::SequentialScheduler::forward(bool forwardDims, bool verbose) { std::set<std::shared_ptr<Node>> computationOver; mScheduling.clear(); + mStaticSchedule.clear(); this->generateScheduling();