Skip to content

Commit

Permalink
Don't rename oneDNN for CPU if oneDNN for GPU is not enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Vihang Mehta <[email protected]>
  • Loading branch information
vihangm committed Nov 20, 2024
1 parent 2279df5 commit 6c3b918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX)
endif()
endif()

if(NOT BUILD_SHARED_LIBS)
if((NOT BUILD_SHARED_LIBS) AND ENABLE_ONEDNN_FOR_GPU)
# Symbols are located in both src and include folders
file(GLOB_RECURSE onednn_files
"${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/onednn/include/*.cpp"
Expand Down

0 comments on commit 6c3b918

Please sign in to comment.