Skip to content

Commit

Permalink
revert desctrucor
Browse files Browse the repository at this point in the history
  • Loading branch information
allnes committed Oct 12, 2023
1 parent 37b182a commit 8a35675
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/intel_cpu/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ Engine::SchedulerGuard::SchedulerGuard() {
#endif
}

Engine::SchedulerGuard::~SchedulerGuard() {}
Engine::SchedulerGuard::~SchedulerGuard() {
std::lock_guard<std::mutex> lock{acl_mutex};
arm_compute::Scheduler::set(arm_compute::Scheduler::Type::ST);
}

std::shared_ptr<Engine::SchedulerGuard> Engine::SchedulerGuard::instance() {
std::lock_guard<std::mutex> lock{SchedulerGuard::acl_mutex};
Expand Down

0 comments on commit 8a35675

Please sign in to comment.