Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[Protopipe] Small protopipe fixes (#38688)

Vigh Sebastian6d7915298f2d
diff --git a/src/plugins/intel_npu/thirdparty/CMakeLists.txt b/src/plugins/intel_npu/thirdparty/CMakeLists.txt
index 3e466caa24b..53b4f8d760e 100644
--- a/src/plugins/intel_npu/thirdparty/CMakeLists.txt
+++ b/src/plugins/intel_npu/thirdparty/CMakeLists.txt
@@ -19,8 +19,7 @@ endif()
if(ENABLE_INTEL_NPU_PROTOPIPE)
set(YAML_BUILD_SHARED_LIBS OFF)
add_subdirectory(yaml-cpp EXCLUDE_FROM_ALL)
- # NB: Suppress warnings in yaml-cpp
- if(SUGGEST_OVERRIDE_SUPPORTED)
- target_compile_options(yaml-cpp PRIVATE -Wno-suggest-override)
- endif()
+ # NB: need to disable all warnings because some
+ # OpenVINO CI builds may treat warnings as errors
+ ov_disable_all_warnings(yaml-cpp)
endif()
diff --git a/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt b/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt
index 481cd19d490..f21f68be622 100644
--- a/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt
+++ b/src/plugins/intel_npu/tools/protopipe/CMakeLists.txt
@@ -71,7 +71,7 @@ set_target_properties(${TARGET_NAME} PROPERTIES
CXX_STANDARD 17)
if (WIN32)
- target_link_options(${TARGET_NAME} PRIVATE "/MANIFESTINPUT:${CMAKE_SOURCE_DIR}/protopipe.exe.manifest")
+ target_link_options(${TARGET_NAME} PRIVATE "/MANIFESTINPUT:${CMAKE_CURRENT_SOURCE_DIR}/protopipe.exe.manifest")
endif()
#
diff --git a/src/plugins/intel_npu/tools/protopipe/src/simulation/validation_mode.cpp b/src/plugins/intel_npu/tools/protopipe/src/simulation/validation_mode.cpp
index b1d464db1d4..4be74b158f9 100644
--- a/src/plugins/intel_npu/tools/protopipe/src/simulation/validation_mode.cpp
+++ b/src/plugins/intel_npu/tools/protopipe/src/simulation/validation_mode.cpp
@@ -1,4 +1,3 @@
-//
// Copyright (C) 2018-2026 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
@@ -131,7 +130,7 @@ Result reportValidationResult(const std::vector<FailedIter>& failed_iters, const
if (!failed_iters.empty()) {
const auto kItersToShow = 10u;
const auto kLimit = failed_iters.size() < kItersToShow ? failed_iters.size() : kItersToShow;
- ss << "Accuraccy check failed on " << failed_iters.size() << " iteration(s)"
+ ss << "Accuracy check failed on " << failed_iters.size() << " iteration(s)"
<< " (first " << kLimit << "):";
ss << "\n";
for (uint32_t i = 0; i < kLimit; ++i) {