You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/01/16 09:56:08 UTC

[GitHub] [incubator-mxnet] TaoLv commented on issue #17338: Unable to build mxnet with USE_OPENMP=OFF with MKLDNN backend

TaoLv commented on issue #17338: Unable to build mxnet with USE_OPENMP=OFF with MKLDNN backend
URL: https://github.com/apache/incubator-mxnet/issues/17338#issuecomment-575073921
 
 
   @cyrusbehr Could you please try to apply below change to the CMakeList file?
   ```
   diff --git a/CMakeLists.txt b/CMakeLists.txt
   index 2612854..3068925 100644
   --- a/CMakeLists.txt
   +++ b/CMakeLists.txt
   @@ -288,6 +288,7 @@ if(USE_MKLDNN)
      set(MKLDNN_ARCH_OPT_FLAGS "" CACHE INTERNAL "" FORCE)
      set(MKLDNN_ENABLE_JIT_PROFILING OFF CACHE INTERNAL "" FORCE)
      set(MKLDNN_LIBRARY_TYPE STATIC CACHE INTERNAL "" FORCE)
   +  set(MKLDNN_CPU_RUNTIME SEQ CACHE INTERNAL "" FORCE)
   
      add_subdirectory(3rdparty/mkldnn)
   ```
   
   Let me know if it works for you. Thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services