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) {