From fdae95a769af8f91261a69b417ffb5e3a6e1e622 Mon Sep 17 00:00:00 2001 From: Egor Duplenskii Date: Wed, 20 Jul 2022 12:07:42 +0200 Subject: [PATCH] [CPU] Explicitly enable DNNL_VERBOSE only in case of CPU_DEBUG_CAPS (#12151) and rely on oneDNN default behavior otherwise --- src/plugins/intel_cpu/thirdparty/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/intel_cpu/thirdparty/CMakeLists.txt b/src/plugins/intel_cpu/thirdparty/CMakeLists.txt index 5b18a90b7ca..3a12bd64e3e 100644 --- a/src/plugins/intel_cpu/thirdparty/CMakeLists.txt +++ b/src/plugins/intel_cpu/thirdparty/CMakeLists.txt @@ -34,11 +34,11 @@ function(ie_add_onednn) set(DNNL_ENABLE_PRIMITIVE "CONVOLUTION;DECONVOLUTION;CONCAT;LRN;INNER_PRODUCT;MATMUL;POOLING;REDUCTION;REORDER;RNN;SOFTMAX" CACHE STRING "" FORCE) set(DNNL_ENABLE_WORKLOAD "INFERENCE" CACHE STRING "" FORCE) + # Allow to enable oneDNN verbose with CPU_DEBUG_CAPS and rely on oneDNN default configuration otherwise if (ENABLE_CPU_DEBUG_CAPS) set(DNNL_VERBOSE "ON" CACHE STRING "" FORCE) - else() - set(DNNL_VERBOSE "OFF" CACHE STRING "" FORCE) endif() + set(SDL_cmake_included ON) ## to skip internal SDL flags. SDL flags are already set on IE level if (ANDROID OR ((CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") AND NOT (THREADING STREQUAL "OMP"))) set(OpenMP_cmake_included ON) ## to skip "omp simd" inside a code. Lead to some crashes inside NDK LLVM..