提交 18f1f535 编写于 作者: T tensor-tang

change message level from warning to status, and fix hard number in version

上级 56f28a0f
...@@ -108,14 +108,11 @@ else() ...@@ -108,14 +108,11 @@ else()
set(THIRD_PARTY_BUILD_TYPE Release) set(THIRD_PARTY_BUILD_TYPE Release)
endif() endif()
if(WITH_MKL) set(WITH_MKLML ${WITH_MKL})
set(WITH_MKLML ON) if (WITH_MKL AND ${AVX2_FOUND})
set(WITH_MKLDNN ${AVX2_FOUND}) set(WITH_MKLDNN ON)
if(NOT WITH_MKLDNN)
message(WARNING "Do not have AVX2 intrinsics and disabled MKL-DNN")
endif()
else() else()
set(WITH_MKLML OFF) message(STATUS "Do not have AVX2 intrinsics and disabled MKL-DNN")
set(WITH_MKLDNN OFF) set(WITH_MKLDNN OFF)
endif() endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册