Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
copy dnnl headers to include/mkldnn
Browse files Browse the repository at this point in the history
  • Loading branch information
TaoLv committed Feb 21, 2020
1 parent 9dcf71d commit 8e00f5f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,12 @@ if(USE_DIST_KVSTORE)
list(APPEND mxnet_LINKER_LIBS pslite)
endif()

if(USE_MKLDNN)
add_custom_command(TARGET mxnet POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_BINARY_DIR}/3rdparty/mkldnn/include/* ${CMAKE_SOURCE_DIR}/include/mkldnn/)
endif()

function(BuildTVMOP)
# scope the variables in BuildTVM.cmake to avoid conflict
include(cmake/BuildTVM.cmake)
Expand Down

0 comments on commit 8e00f5f

Please sign in to comment.