From 9940d257c1c0e27a373eca51161f74282a494f2f Mon Sep 17 00:00:00 2001 From: Alexander Nesterov Date: Wed, 11 Oct 2023 17:57:03 +0200 Subject: [PATCH] update position --- src/plugins/intel_cpu/src/plugin.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/intel_cpu/src/plugin.cpp b/src/plugins/intel_cpu/src/plugin.cpp index 533537e17f3b52..104d704ece46a1 100644 --- a/src/plugins/intel_cpu/src/plugin.cpp +++ b/src/plugins/intel_cpu/src/plugin.cpp @@ -40,6 +40,11 @@ #if defined(OV_CPU_WITH_ACL) #include "nodes/executors/acl/acl_ie_scheduler.hpp" + +static std::mutex & get_mtx_acl() { + static std::mutex mtx_acl; + return mtx_acl; +} #endif using namespace InferenceEngine; @@ -141,11 +146,6 @@ class CPUSpecialSetup { }; #endif // __linux__ -static std::mutex & get_mtx_acl() { - static std::mutex mtx_acl; - return mtx_acl; -} - Engine::Engine() : deviceFullName(getDeviceFullName()), specialSetup(new CPUSpecialSetup) {