From 0f28dc1167cfbfd3b7c223b5be4a712ec0fcdbe1 Mon Sep 17 00:00:00 2001 From: Tomasz Adamowicz Date: Tue, 28 Nov 2023 09:10:32 +0100 Subject: [PATCH] update after review --- src/plugins/intel_gna/src/backend/gna_limitations.cpp | 2 +- src/plugins/intel_gna/src/backend/gna_limitations.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/intel_gna/src/backend/gna_limitations.cpp b/src/plugins/intel_gna/src/backend/gna_limitations.cpp index 7f509ad4a40a79..276ea7c5f2f9f3 100644 --- a/src/plugins/intel_gna/src/backend/gna_limitations.cpp +++ b/src/plugins/intel_gna/src/backend/gna_limitations.cpp @@ -677,7 +677,7 @@ constexpr uint32_t Limitations::kBytesPerCropElement; constexpr uint32_t Limitations::kBytesPerConcatElement; constexpr uint32_t Limitations::kMemoryPageSize; -InferenceEngine::ThreadLocal> Limitations::kInstance{nullptr}; +ov::threading::ThreadLocal> Limitations::kInstance{nullptr}; Limitations::Limitations(const DeviceVersion& target) { m_use_only_16bit_conv_weights = diff --git a/src/plugins/intel_gna/src/backend/gna_limitations.hpp b/src/plugins/intel_gna/src/backend/gna_limitations.hpp index d2745641f79448..bfb68b3f35f5c3 100644 --- a/src/plugins/intel_gna/src/backend/gna_limitations.hpp +++ b/src/plugins/intel_gna/src/backend/gna_limitations.hpp @@ -20,9 +20,9 @@ #include "legacy/ngraph_ops/fully_connected.hpp" #include "ngraph/opsets/opset7.hpp" #include "ngraph/opsets/opset9.hpp" +#include "openvino/runtime/threading/thread_local.hpp" #include "ops/gna_convolution.hpp" #include "ops/gna_max_pool.hpp" -#include "threading/ie_thread_local.hpp" namespace ov { namespace intel_gna { @@ -316,7 +316,7 @@ class Limitations { size_t m_mem_alignment = 0; std::shared_ptr m_cnn_validator; - static InferenceEngine::ThreadLocal> kInstance; + static ov::threading::ThreadLocal> kInstance; }; inline std::shared_ptr Limitations::get_instance() {