Skip to content

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

[NPUW] restored npu-unit-tests with avx2 (#31998)

Eugene Smirnovd08f38e7b5ad
diff --git a/src/plugins/intel_npu/tests/unit/CMakeLists.txt b/src/plugins/intel_npu/tests/unit/CMakeLists.txt
index cfee0cc26b7..b42deb6c470 100644
--- a/src/plugins/intel_npu/tests/unit/CMakeLists.txt
+++ b/src/plugins/intel_npu/tests/unit/CMakeLists.txt
@@ -48,6 +48,7 @@ ov_add_test_target(
if(ENABLE_AVX2)
ov_avx2_optimization_flags(avx2_flags)
target_compile_options(${TARGET_NAME} PRIVATE "${avx2_flags}")
+ target_compile_definitions(${TARGET_NAME} PRIVATE HAVE_AVX2)
endif()
install(TARGETS ${TARGET_NAME}