Skip to content

Commit

Permalink
update after review
Browse files Browse the repository at this point in the history
  • Loading branch information
tadamowicz committed Dec 1, 2023
1 parent 8f2d9c1 commit 0f28dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/intel_gna/src/backend/gna_limitations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ constexpr uint32_t Limitations::kBytesPerCropElement;
constexpr uint32_t Limitations::kBytesPerConcatElement;
constexpr uint32_t Limitations::kMemoryPageSize;

InferenceEngine::ThreadLocal<std::shared_ptr<Limitations>> Limitations::kInstance{nullptr};
ov::threading::ThreadLocal<std::shared_ptr<Limitations>> Limitations::kInstance{nullptr};

Limitations::Limitations(const DeviceVersion& target) {
m_use_only_16bit_conv_weights =
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/intel_gna/src/backend/gna_limitations.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -316,7 +316,7 @@ class Limitations {
size_t m_mem_alignment = 0;
std::shared_ptr<cnn2d::AbstractValidator> m_cnn_validator;

static InferenceEngine::ThreadLocal<std::shared_ptr<Limitations>> kInstance;
static ov::threading::ThreadLocal<std::shared_ptr<Limitations>> kInstance;
};

inline std::shared_ptr<Limitations> Limitations::get_instance() {
Expand Down

0 comments on commit 0f28dc1

Please sign in to comment.