[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-05-11 Thread GitBox
kpuatamazon commented on issue #17980: URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-626563301 @ChaiBapchya to be clear, here's how I am building the second option: ```bash export CXXFLAGS="${CXXFLAGS} -DUSE_MKL -I/opt/intel/mkl/include" unset LD_PRELOAD

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-05-04 Thread GitBox
kpuatamazon commented on issue #17980: URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-623737885 DNNL has only a hidden unsupported option to link to MKL. It will not link to MKL by default.

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-04-13 Thread GitBox
kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-613009431 In case somebody finds this issue and wants their optimized build, here is a

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-04-13 Thread GitBox
kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-612874407 @TaoLv Regarding your comment > how to improve the performance of FullyConnected

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-04-13 Thread GitBox
kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-612836744 Single-threaded benchmarks (`OMP_NUM_THREADS=1`) to confirm that it's not a

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-04-06 Thread GitBox
kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-609906743 > I don't think it's possible at this moment. Can we please have a build option

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-04-06 Thread GitBox
kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-609875547 This still uses MKLDNN for `FullyConnected` ``` cmake -GNinja -DUSE_CUDA=OFF

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-04-06 Thread GitBox
kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-609859032 I also tried the latest DNNL: ```bash cd 3rdparty rm -rf mkldnn git

[GitHub] [incubator-mxnet] kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL

2020-04-06 Thread GitBox
kpuatamazon commented on issue #17980: When compiled with MKL, fully_connected calls DNNL while dot and batch_dot call MKL URL: https://github.com/apache/incubator-mxnet/issues/17980#issuecomment-609843360 Here's some benchmarks on 2fff11d4233814aa4ad07858779338090ec2132d (current tip of