From 22aee08958898f0a10dcb317a177efd79bc7ccd8 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Tue, 25 Apr 2023 12:01:02 +0400 Subject: [PATCH] Revert "[CPU] Fix data race in concurrent compile_model calls (#17164)" (#17184) This reverts commit 8879ef53a7dceb32641c0b9d5064c5116228172a. --- src/inference/src/system_conf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inference/src/system_conf.cpp b/src/inference/src/system_conf.cpp index 6f350136893..38c2f3dd7e6 100644 --- a/src/inference/src/system_conf.cpp +++ b/src/inference/src/system_conf.cpp @@ -181,7 +181,7 @@ void set_cpu_used(const std::vector& cpu_ids, const int used) {} #else -static thread_local CPU cpu; +static CPU cpu; # ifndef _WIN32 int get_number_of_cpu_cores(bool bigCoresOnly) {