diff --git a/.gitmodules b/.gitmodules index 1fa4dd94052366..a9cad1dee5f494 100644 --- a/.gitmodules +++ b/.gitmodules @@ -72,8 +72,8 @@ [submodule "src/plugins/intel_cpu/thirdparty/mlas"] path = src/plugins/intel_cpu/thirdparty/mlas url = https://github.com/openvinotoolkit/mlas.git -[submodule "src/plugins/intel_npu/thirdparty/level-zero"] - path = src/plugins/intel_npu/thirdparty/level-zero +[submodule "thirdparty/level_zero/level-zero"] + path = thirdparty/level_zero/level-zero url = https://github.com/oneapi-src/level-zero.git [submodule "src/plugins/intel_npu/thirdparty/level-zero-ext"] path = src/plugins/intel_npu/thirdparty/level-zero-ext @@ -86,4 +86,4 @@ url = https://github.com/libxsmm/libxsmm.git [submodule "src/plugins/intel_cpu/thirdparty/shl"] path = src/plugins/intel_cpu/thirdparty/shl - url = https://github.com/openvinotoolkit/shl.git \ No newline at end of file + url = https://github.com/openvinotoolkit/shl.git diff --git a/src/bindings/python/thirdparty/pybind11 b/src/bindings/python/thirdparty/pybind11 index 75e48c5f959b4f..7c33cdc2d39c7b 160000 --- a/src/bindings/python/thirdparty/pybind11 +++ b/src/bindings/python/thirdparty/pybind11 @@ -1 +1 @@ -Subproject commit 75e48c5f959b4f0a49d8c664e059b6fb4b497102 +Subproject commit 7c33cdc2d39c7b99a122579f53bc94c8eb3332ff diff --git a/src/plugins/intel_cpu/thirdparty/ComputeLibrary b/src/plugins/intel_cpu/thirdparty/ComputeLibrary index c61bd3387403b7..f1929dc994d8e5 160000 --- a/src/plugins/intel_cpu/thirdparty/ComputeLibrary +++ b/src/plugins/intel_cpu/thirdparty/ComputeLibrary @@ -1 +1 @@ -Subproject commit c61bd3387403b76d618915ccebf5e9585f52a071 +Subproject commit f1929dc994d8e5afae5c77ca66446344119a8592 diff --git a/src/plugins/intel_cpu/thirdparty/libxsmm b/src/plugins/intel_cpu/thirdparty/libxsmm index 6a286ec2884abe..13df674c4b73a1 160000 --- a/src/plugins/intel_cpu/thirdparty/libxsmm +++ b/src/plugins/intel_cpu/thirdparty/libxsmm @@ -1 +1 @@ -Subproject commit 6a286ec2884abe8e05587dfead1784ddc8cd5390 +Subproject commit 13df674c4b73a1b84f6456de8595903ebfbb43e0 diff --git a/src/plugins/intel_cpu/thirdparty/onednn b/src/plugins/intel_cpu/thirdparty/onednn index c60a9946aa2386..1ce2d722922efb 160000 --- a/src/plugins/intel_cpu/thirdparty/onednn +++ b/src/plugins/intel_cpu/thirdparty/onednn @@ -1 +1 @@ -Subproject commit c60a9946aa2386890e5c9f5587974facb7624227 +Subproject commit 1ce2d722922efb80da52a6efe2152a9aecdddebf diff --git a/src/plugins/intel_gpu/thirdparty/onednn_gpu b/src/plugins/intel_gpu/thirdparty/onednn_gpu index 210c6897e92110..4ccd07e3a10e1c 160000 --- a/src/plugins/intel_gpu/thirdparty/onednn_gpu +++ b/src/plugins/intel_gpu/thirdparty/onednn_gpu @@ -1 +1 @@ -Subproject commit 210c6897e9211069db9b31c04bed2940b5152e61 +Subproject commit 4ccd07e3a10e1c08075cf824ac14708245fbc334 diff --git a/src/plugins/intel_npu/thirdparty/level-zero-ext b/src/plugins/intel_npu/thirdparty/level-zero-ext index 16c85231a82ee1..cdb761dd63b1d4 160000 --- a/src/plugins/intel_npu/thirdparty/level-zero-ext +++ b/src/plugins/intel_npu/thirdparty/level-zero-ext @@ -1 +1 @@ -Subproject commit 16c85231a82ee1a0b06ed7ab7da3f411a0878ed7 +Subproject commit cdb761dd63b1d47230d501e631a2d725db09ba0d diff --git a/thirdparty/level_zero/CMakeLists.txt b/thirdparty/level_zero/CMakeLists.txt new file mode 100644 index 00000000000000..4bd953e812f07f --- /dev/null +++ b/thirdparty/level_zero/CMakeLists.txt @@ -0,0 +1,34 @@ +# Copyright (C) 2018-2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 +# + +set(BUILD_SHARED_LIBS OFF) + + +# We have to avoid linking against loader with debug postfix due it's a part of driver +# and the name will be the same for release and debug configurations +set(CMAKE_DEBUG_POSTFIX "") + +# Skip warnings as errors for thirdparty +if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") + ov_add_compiler_flags(/WX-) + # solve pdb access issue + set(USE_Z7 ON) + # Close spectre for ze loader + add_compile_options("/Qspectre-") +elseif(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG) + ov_add_compiler_flags(-Wno-error) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \ + -Wno-undef \ + -Wno-missing-declarations") + if(UNUSED_BUT_SET_VARIABLE_SUPPORTED) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-but-set-variable") + endif() +endif() +set(CMAKE_COMPILE_WARNING_AS_ERROR OFF) +add_subdirectory(level-zero EXCLUDE_FROM_ALL) + +set_property(TARGET ze_loader APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $) + +# This VERSION file created by L0 may cause compilation issue of oneTBB headers, so remove it +file(REMOVE "${CMAKE_BINARY_DIR}/VERSION") diff --git a/src/plugins/intel_npu/thirdparty/level-zero b/thirdparty/level_zero/level-zero similarity index 100% rename from src/plugins/intel_npu/thirdparty/level-zero rename to thirdparty/level_zero/level-zero diff --git a/thirdparty/open_model_zoo b/thirdparty/open_model_zoo index f798fd62d66c27..e7df86da686d2e 160000 --- a/thirdparty/open_model_zoo +++ b/thirdparty/open_model_zoo @@ -1 +1 @@ -Subproject commit f798fd62d66c273c757ab9c6038a47a364b726d0 +Subproject commit e7df86da686d2e1600282422e54f66c2fecea160 diff --git a/thirdparty/protobuf/protobuf b/thirdparty/protobuf/protobuf index fe271ab76f2ad2..f0dc78d7e6e331 160000 --- a/thirdparty/protobuf/protobuf +++ b/thirdparty/protobuf/protobuf @@ -1 +1 @@ -Subproject commit fe271ab76f2ad2b2b28c10443865d2af21e27e0e +Subproject commit f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c