未验证 提交 bce1c03a 编写于 作者: T tensor-tang 提交者: GitHub

Merge pull request #5748 from luotao1/fix_mkl_compiler_bug

fix compiler error in "WITH_MKL"
...@@ -109,7 +109,7 @@ else() ...@@ -109,7 +109,7 @@ else()
endif() endif()
set(WITH_MKLML ${WITH_MKL}) set(WITH_MKLML ${WITH_MKL})
if (WITH_MKL AND ${AVX2_FOUND}) if (WITH_MKL AND AVX2_FOUND)
set(WITH_MKLDNN ON) set(WITH_MKLDNN ON)
else() else()
message(STATUS "Do not have AVX2 intrinsics and disabled MKL-DNN") message(STATUS "Do not have AVX2 intrinsics and disabled MKL-DNN")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册