You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mkl_dnn.cmake 534 B

1234567891011
  1. set(mkl_dnn_CXXFLAGS "-D_FORTIFY_SOURCE=2 -O2")
  2. set(mkl_dnn_CFLAGS "-D_FORTIFY_SOURCE=2 -O2")
  3. mindspore_add_pkg(mkl_dnn
  4. VER 1.1.1
  5. LIBS dnnl mkldnn
  6. URL https://github.com/intel/mkl-dnn/archive/v1.1.1.tar.gz
  7. MD5 d6a422b00459600bdc22242590953f38
  8. CMAKE_OPTION -DDNNL_ARCH_OPT_FLAGS='' -DDNNL_CPU_RUNTIME='SEQ' -DDNNL_BUILD_EXAMPLES=OFF -DDNNL_BUILD_TESTS=OFF)
  9. include_directories(${mkl_dnn_INC})
  10. add_library(mindspore::dnnl ALIAS mkl_dnn::dnnl)
  11. add_library(mindspore::mkldnn ALIAS mkl_dnn::mkldnn)

MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

Contributors (1)