ciyongch commented on issue #14914: Add primitive cache for MKL-DNN 
sum(elemwise_add operator
URL: https://github.com/apache/incubator-mxnet/pull/14914#issuecomment-490793808
 
 
   Here's some performance data I collected based on a customer case, primitive 
cached brings ~1.6x speedup for `elemwise_add` operator, which help to reduce 
the overall percentage:
   
   **1) Don't cached sum primitive (current code base)**
   
   | Op name      | total time(ms) | ave time (ms) | ncalls | percentage |
   | ------------ | -------------- | ------------- | ------ | ---------- |
   | elemwise_add | 382.533        | 0.4           | 920    | 24.96%     |
   
   **2) cached sum primitive**
   
   | Op name      | total time(ms) | ave time (ms) | ncalls | percentage |
   | ------------ | -------------- | ------------- | ------ | ---------- |
   | elemwise_add | 230.243        | 0.25          | 920    | 18.29%     |

----------------------------------------------------------------
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