agrabows opened a new pull request #20713:
URL: https://github.com/apache/incubator-mxnet/pull/20713


   ## Description ##
   Binary broadcast operators such as add, subtract, multiply, divide are 
implemented in both NDArray and NumPy modules and no oneDNN support exists for 
those operators. Goal of this task was to dispatch execution of those operators 
to oneDNN binary primitive. 
   
   ## Checklist ##
   ### Essentials ###
   - [x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], 
[FEATURE], [DOC], etc)
   - [x] Changes are complete (i.e. I finished coding on this PR)
   - [x] All changes have test coverage
   - [x] Code is well-documented
   
   ### Changes ###
   - [x] Merge execution of add, subtract, multiply, divide operators to one 
NNVM_REGISTER_OP() function
   - [x] Implement oneDNN dispatch for binary broadcast operators
   
   ## Comments ##
   Speedup for all cases noticed, up to ~350%.
   
![image](https://user-images.githubusercontent.com/59651240/139280757-35ef83c5-3118-43c4-8c8f-eae4b2881d20.png)
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to