[CPU] [DEBUG CAPS] Revert DNNL_VERBOSE (#11410)
Compilation with ENABLE_CPU_DEBUG_CAPS was fixed. Previous to this change it failed due to undefined dnnl::impl::md2dim_str (since DNNL_VERBOSE was disabled in the scope of PR #11244).
This commit is contained in:
@@ -29,7 +29,11 @@ function(ie_add_mkldnn)
|
||||
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(DNNL_VERBOSE "OFF" CACHE STRING "" FORCE)
|
||||
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..
|
||||
|
||||
Reference in New Issue
Block a user