diff --git a/cmake/developer_package/features.cmake b/cmake/developer_package/features.cmake index b6bc479fb06..5c810c713c6 100644 --- a/cmake/developer_package/features.cmake +++ b/cmake/developer_package/features.cmake @@ -8,7 +8,7 @@ include(target_flags) # FIXME: there are compiler failures with LTO and Cross-Compile toolchains. Disabling for now, but # this must be addressed in a proper way ie_dependent_option (ENABLE_LTO "Enable Link Time Optimization" OFF - "LINUX OR (APPLE AND AARCH64);EMSCRIPTEN OR NOT CMAKE_CROSSCOMPILING;CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9" OFF) + "LINUX;EMSCRIPTEN OR NOT CMAKE_CROSSCOMPILING;CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9" OFF) ie_option (OS_FOLDER "create OS dedicated folder in output" OFF) diff --git a/src/frontends/paddle/CMakeLists.txt b/src/frontends/paddle/CMakeLists.txt index 7cd24e56b75..e11be311e03 100644 --- a/src/frontends/paddle/CMakeLists.txt +++ b/src/frontends/paddle/CMakeLists.txt @@ -2,7 +2,6 @@ # SPDX-License-Identifier: Apache-2.0 # - add_subdirectory(src) if(ENABLE_TESTS) diff --git a/src/frontends/paddle/tests/op_fuzzy.cpp b/src/frontends/paddle/tests/op_fuzzy.cpp index 598b49dc41a..f5d6479c9dd 100644 --- a/src/frontends/paddle/tests/op_fuzzy.cpp +++ b/src/frontends/paddle/tests/op_fuzzy.cpp @@ -4,8 +4,6 @@ #include "op_fuzzy.hpp" -#include - #include #include "engines_util/test_engines.hpp" diff --git a/src/frontends/tests/CMakeLists.txt b/src/frontends/tests/CMakeLists.txt index eca0bd8f562..d7dd08e195b 100644 --- a/src/frontends/tests/CMakeLists.txt +++ b/src/frontends/tests/CMakeLists.txt @@ -2,6 +2,4 @@ # SPDX-License-Identifier: Apache-2.0 # -set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF) - add_subdirectory(frontend/shared) diff --git a/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp b/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp index 8760cce41ea..0e3a7e99998 100644 --- a/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp +++ b/src/frontends/tests/frontend/shared/src/op_fuzzy.cpp @@ -38,8 +38,8 @@ void FrontEndFuzzyOpTest::doLoadFromFile() { } template -inline void addInputOutput(cnpy::NpyArray& npy_array, test::TestCase& test_case, bool is_input = true) { - T* npy_begin = npy_array.data(); +inline void addInputOutput(const cnpy::NpyArray& npy_array, test::TestCase& test_case, bool is_input = true) { + const T* npy_begin = npy_array.data(); std::vector data(npy_begin, npy_begin + npy_array.num_vals); if (is_input) test_case.add_input(npy_array.shape, data); diff --git a/src/plugins/intel_cpu/tests/unit/CMakeLists.txt b/src/plugins/intel_cpu/tests/unit/CMakeLists.txt index cb66641f91f..0f21ef99343 100644 --- a/src/plugins/intel_cpu/tests/unit/CMakeLists.txt +++ b/src/plugins/intel_cpu/tests/unit/CMakeLists.txt @@ -44,6 +44,9 @@ addIeTargetTest( CPU ) +# LTO +set_target_properties(${TARGET_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO}) + target_include_directories(${TARGET_NAME} SYSTEM PRIVATE $) diff --git a/src/plugins/intel_cpu/thirdparty/onednn b/src/plugins/intel_cpu/thirdparty/onednn index 02857209960..d0573f56da2 160000 --- a/src/plugins/intel_cpu/thirdparty/onednn +++ b/src/plugins/intel_cpu/thirdparty/onednn @@ -1 +1 @@ -Subproject commit 02857209960e9d91c1b3df90ab4c7ac359bf0973 +Subproject commit d0573f56da28fbdb08ba55d35145c0ac58ed87b6 diff --git a/src/plugins/intel_gpu/tests/test_cases/lstm_gpu_test.cpp b/src/plugins/intel_gpu/tests/test_cases/lstm_gpu_test.cpp index 2d62d73290d..e96922a8213 100644 --- a/src/plugins/intel_gpu/tests/test_cases/lstm_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/test_cases/lstm_gpu_test.cpp @@ -2360,7 +2360,7 @@ TEST(DISABLED_lstm_gpu, generic_lstm_clip_f16_cached) { generic_lstm_gpu_test(1, 7, 1, 3, 3, 2, true, true, true, 0.3f, 0, true); } -TEST(lstm_gpu, generic_lstm_input_forget_f16_cached) { +TEST(DISABLED_lstm_gpu, generic_lstm_input_forget_f16_cached) { generic_lstm_gpu_test(1, 7, 1, 3, 3, 2, true, true, true, 0.f, 1, true); } diff --git a/thirdparty/cnpy/cnpy.cpp b/thirdparty/cnpy/cnpy.cpp index f0c32147a66..225ed4f88ad 100644 --- a/thirdparty/cnpy/cnpy.cpp +++ b/thirdparty/cnpy/cnpy.cpp @@ -139,11 +139,11 @@ void cnpy::parse_npy_header(FILE* fp, size_t& word_size, std::vector& sh throw std::runtime_error("parse_npy_header: failed to find header keyword: '(' or ')'"); std::regex num_regex("[0-9][0-9]*"); - std::smatch sm; + std::cmatch sm; shape.clear(); std::string str_shape = header.substr(loc1+1,loc2-loc1-1); - while(std::regex_search(str_shape, sm, num_regex)) { + while(std::regex_search(str_shape.c_str(), sm, num_regex)) { shape.push_back(std::stoi(sm[0].str())); str_shape = sm.suffix().str(); }