We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cece368 commit 1578c20Copy full SHA for 1578c20
cmake/external/mkldnn.cmake
@@ -67,4 +67,5 @@ ADD_LIBRARY(mkldnn SHARED IMPORTED GLOBAL)
67
SET_PROPERTY(TARGET mkldnn PROPERTY IMPORTED_LOCATION ${MKLDNN_LIB})
68
ADD_DEPENDENCIES(mkldnn ${MKLDNN_PROJECT})
69
MESSAGE(STATUS "MKLDNN library: ${MKLDNN_LIB}")
70
+add_definitions(-DPADDLE_USE_MKLDNN)
71
LIST(APPEND external_project_dependencies mkldnn)
0 commit comments