[CPU] Fix data race in concurrent compile_model calls (#17164)

This commit is contained in:
Egor Duplenskii authored and GitHub committed 2023-04-25 00:01:03 +00:00
1 parent 00847cba7d
commit 8879ef53a7
1 file changed
+1 -1
+1 -1
View File
@@ -185,7 +185,7 @@ void set_cpu_used(const std::vector<int>& cpu_ids, const int used) {}
#else
static CPU cpu;
static thread_local CPU cpu;
# ifndef _WIN32
int get_number_of_cpu_cores(bool bigCoresOnly) {