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 
difference in OMP library:
   | Shape | dot (MKL) | FullyConnected (MKL workaround) | FullyConnected 
(DNNL) | DNNL slowdown |
   | --- | --- | --- | --- | --- |
   | 5, 512, 512 | 0.0000914 | 0.0001016 | 0.0002448 | 2.40x |
   | 5, 512, 1536 | 0.0002939 | 0.0003051 | 0.0006576 | 2.15x |
   | 5, 512, 2048 | 0.0003828 | 0.0003919 | 0.0008582 | 2.18x |
   | 5, 2048, 512 | 0.0003681 | 0.0003785 | 0.0014638 | 3.86x |
   | 4, 512, 512 | 0.0000917 | 0.0001038 | 0.0002364 | 2.27x |
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to