Skip to content

Commit

Permalink
reset the QManager status to ODLA_SUCCESS when create the new queue (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzipu authored Apr 13, 2022
1 parent 9ed6187 commit fa1e191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ODLA/platforms/odla_popart/odla_pipeline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void QManager::createQ(std::string queueType) {
throw std::invalid_argument(
"[QManager::createQ] invalid queueType: " + queueType +
", should be ContextQueues or LockFreeQueue.");
status_ = ODLA_SUCCESS; // reset the QManager status when create new queue
popart::logging::info("Created queue with queueType: {}.", queueType);
}
}
Expand Down

0 comments on commit fa1e191

Please sign in to comment.