Skip to content

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

[CPU] disable avx2 gemm in cpu (#28941)

Xiuchuan Zhai138699e8070c
diff --git a/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/x64/matmul_quantized_subgraph.cpp b/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/x64/matmul_quantized_subgraph.cpp
index c1a65af4729..c37357b854f 100644
--- a/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/x64/matmul_quantized_subgraph.cpp
+++ b/src/plugins/intel_cpu/tests/functional/custom/subgraph_tests/src/x64/matmul_quantized_subgraph.cpp
@@ -145,7 +145,6 @@ const std::vector<ov::Shape> supportedInputShapes = {
const std::vector<CPUSpecificParams>matmulSpecificFilterParams = {
{{}, {}, {"brgemm_avx2"}, "brgemm_avx2"},
- {{}, {}, {"jit_gemm"}, "jit_gemm"}
};
INSTANTIATE_TEST_SUITE_P(smoke_matmulBrgemmInt8,
diff --git a/src/plugins/intel_cpu/thirdparty/CMakeLists.txt b/src/plugins/intel_cpu/thirdparty/CMakeLists.txt
index 86d3a42aa71..293b5d384ed 100644
--- a/src/plugins/intel_cpu/thirdparty/CMakeLists.txt
+++ b/src/plugins/intel_cpu/thirdparty/CMakeLists.txt
@@ -50,7 +50,7 @@ function(ov_add_onednn)
set(DNNL_CPU_RUNTIME "${THREADING}" CACHE STRING "" FORCE)
set(DNNL_GPU_RUNTIME "NONE" CACHE STRING "" FORCE)
set(DNNL_BLAS_VENDOR "NONE" CACHE STRING "" FORCE)
- set(ONEDNN_ENABLE_GEMM_KERNELS_ISA "AVX2" CACHE STRING "" FORCE)
+ set(ONEDNN_ENABLE_GEMM_KERNELS_ISA "SSE41" CACHE STRING "" FORCE)
# plugin does not use onednn graph
set(ONEDNN_BUILD_GRAPH OFF CACHE BOOL "" FORCE)
# select needed primitives