Skip to content

Commit

Permalink
Update plugin.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
allnes authored Nov 23, 2023
1 parent 762ac00 commit 834e4fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plugins/intel_cpu/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ std::shared_ptr<Engine::SchedulerGuard> Engine::SchedulerGuard::instance() {
}

Engine::SchedulerGuard::~SchedulerGuard() {
// To save the state of scheduler after ACLScheduler has been executed
// TODO: find out the cause of the state
std::lock_guard<std::mutex> lock{this->dest_mutex};
arm_compute::Scheduler::set(arm_compute::Scheduler::Type::ST);
// To save the state of scheduler after ACLScheduler has been executed
// TODO: find out the cause of the state
std::lock_guard<std::mutex> lock{this->dest_mutex};
arm_compute::Scheduler::set(arm_compute::Scheduler::Type::ST);
}
#endif

Expand Down

0 comments on commit 834e4fc

Please sign in to comment.