Skip to content

Commit b59e74d

Browse files
authored
[GPU] Update onednn 25ww10 rls3.8pc (#29393)
1 parent 7365188 commit b59e74d

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

src/plugins/intel_gpu/src/runtime/ocl/ocl_device.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#ifndef NOMINMAX
77
# define NOMINMAX
88
#endif
9-
#include "gpu/intel/jit/jit_generator.hpp"
9+
#include "gpu/intel/jit/generator.hpp"
1010
#endif // ENABLE_ONEDNN_FOR_GPU
1111

1212
#include "ocl_device.hpp"
@@ -324,7 +324,7 @@ device_info init_device_info(const cl::Device& device, const cl::Context& contex
324324
using namespace dnnl::impl::gpu::intel::jit;
325325
ngen::HW hw = ngen::HW::Unknown;
326326
ngen::Product product = {ngen::ProductFamily::Unknown, 0};
327-
jit_generator<ngen::HW::Unknown>::detectHWInfo(context.get(), device.get(), hw, product);
327+
generator_t<ngen::HW::Unknown>::detectHWInfo(context.get(), device.get(), hw, product);
328328
info.arch = convert_ngen_arch(hw);
329329
// We change the value of this flag to avoid OneDNN usage for the platforms unknown to OneDNN
330330
// This is required to guarantee some level of forward compatibility for the new HW generations

src/plugins/intel_gpu/thirdparty/CMakeLists.txt

+2-7
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,13 @@ if(ENABLE_ONEDNN_FOR_GPU)
156156
)
157157
endif()
158158

159-
set(LIB_INCLUDE_DIRS "${ONEDNN_INSTALL_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}/onednn_gpu/src")
159+
set(LIB_INCLUDE_DIRS "${ONEDNN_INSTALL_DIR}/include" "${CMAKE_CURRENT_SOURCE_DIR}/onednn_gpu/src" "${CMAKE_CURRENT_SOURCE_DIR}/onednn_gpu/src/gpu/intel/jit/ngen" "${CMAKE_CURRENT_SOURCE_DIR}/onednn_gpu/third_party/ngen")
160160
set(LIB_DEFINITIONS ENABLE_ONEDNN_FOR_GPU
161161
DNNL_DLL
162162
DNNL_DLL_EXPORTS
163163
DNNL_ENABLE_CPU_ISA_HINTS
164164
DNNL_ENABLE_MAX_CPU_ISA
165-
DNNL_X64=1
166-
NGEN_CPP11
167-
NGEN_NEO_INTERFACE
168-
NGEN_NO_OP_NAMES
169-
NGEN_SAFE
170-
NGEN_WINDOWS_COMPAT)
165+
DNNL_X64=1)
171166
add_library(onednn_gpu_tgt INTERFACE)
172167
set_target_properties(onednn_gpu_tgt PROPERTIES
173168
INTERFACE_LINK_LIBRARIES $<BUILD_INTERFACE:${ONEDNN_GPU_LIB_PATH}>

0 commit comments

Comments
 (0)