提交 d9e182e2 编写于 作者: T typhoonzero

update

上级 75988275
...@@ -28,7 +28,9 @@ IF(WIN32 OR APPLE) ...@@ -28,7 +28,9 @@ IF(WIN32 OR APPLE)
"Windows or Mac is not supported with MKLDNN in Paddle yet." "Windows or Mac is not supported with MKLDNN in Paddle yet."
"Force WITH_MKLDNN=OFF") "Force WITH_MKLDNN=OFF")
SET(WITH_MKLDNN OFF CACHE STRING "Disable MKLDNN in Windows and MacOS" FORCE) SET(WITH_MKLDNN OFF CACHE STRING "Disable MKLDNN in Windows and MacOS" FORCE)
SET(WITH_MKL OFF CACHE STRING "Disable MKL for later scripts" FORCE) IF ((NOT ${WITH_MKLDNN}) AND (NOT ${WITH_MKLML}))
SET(WITH_MKL OFF CACHE STRING "Disable MKL for later scripts" FORCE)
ENDIF()
return() return()
ENDIF() ENDIF()
......
...@@ -21,7 +21,9 @@ IF(WIN32 OR APPLE) ...@@ -21,7 +21,9 @@ IF(WIN32 OR APPLE)
"Windows or Mac is not supported with MKLML in Paddle yet." "Windows or Mac is not supported with MKLML in Paddle yet."
"Force WITH_MKLML=OFF") "Force WITH_MKLML=OFF")
SET(WITH_MKLML OFF CACHE STRING "Disable MKLML package in Windows and MacOS" FORCE) SET(WITH_MKLML OFF CACHE STRING "Disable MKLML package in Windows and MacOS" FORCE)
SET(WITH_MKL OFF CACHE STRING "Disable MKL for later scripts" FORCE) IF ((NOT ${WITH_MKLDNN}) AND (NOT ${WITH_MKLML}))
SET(WITH_MKL OFF CACHE STRING "Disable MKL for later scripts" FORCE)
ENDIF()
return() return()
ENDIF() ENDIF()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册