Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
url = https://github.com/nithinn/ncc.git
[submodule "thirdparty/onednn_gpu"]
path = src/plugins/intel_gpu/thirdparty/onednn_gpu
url = https://github.com/oneapi-src/oneDNN.git
url = https://github.com/intel-innersource/libraries.performance.math.onednn.git
[submodule "thirdparty/json/nlohmann_json"]
path = thirdparty/json/nlohmann_json
url = https://github.com/nlohmann/json.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ enum class gpu_arch {
xe_hpc = 6,
xe2 = 7,
xe3 = 8,
xe3p_35_10 = 9,
xe3p_35_11 = 10,
xe3p_unknown = 11,
xe4 = 12,
};

/// @brief Defines version of GFX IP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ enum class gpu_arch {
xe_hpc = 6,
xe2 = 7,
xe3 = 8,
xe3p_35_10 = 9,
xe3p_35_11 = 10,
xe3p_unknown = 11,
xe4 = 12,
};


Expand Down
4 changes: 4 additions & 0 deletions src/plugins/intel_gpu/src/runtime/ocl/ocl_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ gpu_arch convert_ngen_arch(ngen::HW gpu_arch) {
case ngen::HW::XeHPC: return gpu_arch::xe_hpc;
case ngen::HW::Xe2: return gpu_arch::xe2;
case ngen::HW::Xe3: return gpu_arch::xe3;
case ngen::HW::XE3P_35_10: return gpu_arch::xe3p_35_10;
case ngen::HW::XE3P_35_11: return gpu_arch::xe3p_35_11;
case ngen::HW::XE3P_UNKNOWN: return gpu_arch::xe3p_unknown;
case ngen::HW::Xe4: return gpu_arch::xe4;
case ngen::HW::Gen10:
case ngen::HW::Unknown: return gpu_arch::unknown;
}
Expand Down
7 changes: 5 additions & 2 deletions src/plugins/intel_gpu/thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if(ENABLE_ONEDNN_FOR_GPU)
set(ONEDNN_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/onednn_gpu_install" CACHE PATH "Installation path for oneDNN GPU library")
set(ONEDNN_PREFIX_DIR "${CMAKE_CURRENT_BINARY_DIR}/onednn_gpu_root")
set(ONEDNN_ENABLED_PRIMITIVES "CONCAT;CONVOLUTION;DECONVOLUTION;INNER_PRODUCT;MATMUL;REORDER;POOLING;REDUCTION;SDPA;RNN")
set(ONEDNN_ENABLED_ISA "XELP;XEHP;XEHPG;XEHPC;XE2;XE3")
set(ONEDNN_ENABLED_ISA "XELP;XEHP;XEHPG;XEHPC;XE2;XE3;XE3P;XE4")
set(DNNL_GPU_LIBRARY_NAME "openvino_onednn_gpu" CACHE STRING "Name of oneDNN library for Intel GPU Plugin")

if(X86_64)
Expand Down Expand Up @@ -168,7 +168,10 @@ if(ENABLE_ONEDNN_FOR_GPU)
DNNL_ENABLE_CPU_ISA_HINTS
DNNL_ENABLE_MAX_CPU_ISA
DNNL_X64=1
NGEN_CONFIG)
NGEN_CONFIG
NGEN_NO_OP_NAMES
XE3P
XE4)
add_library(onednn_gpu_tgt INTERFACE)
set_target_properties(onednn_gpu_tgt PROPERTIES
INTERFACE_LINK_LIBRARIES $<BUILD_INTERFACE:${ONEDNN_GPU_LIB_PATH}>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/thirdparty/onednn_gpu
Loading