barry-jin opened a new pull request #20546:
URL: https://github.com/apache/incubator-mxnet/pull/20546


   ## Description ##
   Add new dlpack API specified in Array API standardizaiton #20501
   
   References:
   1. Discussion on synchronization dmlc/dlpack#57
   2. New dlpack API in TVM apache/tvm#7993
   3. New dlpack API in pytorch pytorch/pytorch#57110
   
   ## Checklist ##
   ### Essentials ###
   - [ ] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], 
[FEATURE], [DOC], etc)
   - [ ] Changes are complete (i.e. I finished coding on this PR)
   - [ ] All changes have test coverage
   - [ ] Code is well-documented
   
   ### Changes ###
   - [x] `__dlpack__(self, stream=None)` and `__dlpack_device__(self)`
   - [x] Add synchronization between consumer and producer
   
   ## Comments ##
   - If this change is a backward incompatible change, why must this change be 
made.
   - Interesting edge cases to note here
   


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