[GitHub] [incubator-mxnet] leezu edited a comment on issue #18244: unix-cpu MKL/MKL-DNN Test Time

2020-05-29 Thread GitBox


leezu edited a comment on issue #18244:
URL: 
https://github.com/apache/incubator-mxnet/issues/18244#issuecomment-636114038


   Thank you for looking into this! Do you have any insights into why this only 
affects MKL builds?



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:
us...@infra.apache.org




[GitHub] [incubator-mxnet] leezu edited a comment on issue #18244: unix-cpu MKL/MKL-DNN Test Time

2020-05-28 Thread GitBox


leezu edited a comment on issue #18244:
URL: 
https://github.com/apache/incubator-mxnet/issues/18244#issuecomment-635457869


   cmake build uses MKL by default if available. You can look at the cmake 
configuration output. To force using MKL, set `cmake -DUSE_BLAS=MKL`. Reference 
https://github.com/apache/incubator-mxnet/blob/382279e0d5b88b2bd05e6c00105fe1e9eb2bc600/cmake/ChooseBlas.cmake#L21-L32
   
   If MKL Blas is used, OpenMP Blas will not be built
   
   
https://github.com/apache/incubator-mxnet/blob/382279e0d5b88b2bd05e6c00105fe1e9eb2bc600/CMakeLists.txt#L402-L427
   
   There may be a bug in these two reference, or your build environment isn't 
correct?



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:
us...@infra.apache.org




[GitHub] [incubator-mxnet] leezu edited a comment on issue #18244: unix-cpu MKL/MKL-DNN Test Time

2020-05-28 Thread GitBox


leezu edited a comment on issue #18244:
URL: 
https://github.com/apache/incubator-mxnet/issues/18244#issuecomment-635457869


   cmake build uses MKL by default if available. You can look at the cmake 
configuration output. To force using MKL, set `cmake -DUSE_BLAS=MKL`. Reference 
https://github.com/apache/incubator-mxnet/blob/382279e0d5b88b2bd05e6c00105fe1e9eb2bc600/cmake/ChooseBlas.cmake#L21-L32
   
   If MKL Blas is used, OpenMP will not be built
   
   
https://github.com/apache/incubator-mxnet/blob/382279e0d5b88b2bd05e6c00105fe1e9eb2bc600/CMakeLists.txt#L402-L427
   
   There may be a bug in these two reference, or your build environment isn't 
correct?



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:
us...@infra.apache.org