Skip to content

Commit 68fd764

Browse files
committed
Update code after review
Signed-off-by: Bogdan Pereanu <bogdan.pereanu@intel.com>
1 parent 239b9b2 commit 68fd764

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/plugins/intel_npu/tests/functional/internal/compiler_adapter/zero_graph.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
#include "zero_graph.hpp"
66

7-
#include "openvino/runtime/intel_npu/properties.hpp"
8-
97
namespace {
108
const std::vector<ov::AnyMap> configsGraphCompilationTests = {{},
119
{ov::cache_dir("test")},

src/plugins/intel_npu/tests/functional/internal/compiler_adapter/zero_graph.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "intel_npu/utils/zero/zero_mem.hpp"
1717
#include "intel_npu/utils/zero/zero_utils.hpp"
1818
#include "ir_serializer.hpp"
19+
#include "openvino/runtime/intel_npu/properties.hpp"
1920
#include "ze_graph_ext_wrappers.hpp"
2021
#include "zero_init_mock.hpp"
2122

@@ -100,13 +101,13 @@ class ZeroGraphTest : public ::testing::TestWithParam<CompilationParamsAndExtens
100101
bool bypassUmdCache() {
101102
if (!configuration.empty()) {
102103
for (auto& configItem : configuration) {
103-
if (configItem.first == "CACHE_DIR") {
104+
if (configItem.first == ov::cache_dir.name()) {
104105
const auto set_cache_dir = configItem.second;
105106
if (!set_cache_dir.empty()) {
106107
return true;
107108
}
108109
}
109-
if (configItem.first == "NPU_BYPASS_UMD_CACHING") {
110+
if (configItem.first == ov::intel_npu::bypass_umd_caching.name()) {
110111
if (configItem.second.as<bool>()) {
111112
return true;
112113
}

0 commit comments

Comments
 (0)