adstraw commented on code in PR #12785: URL: https://github.com/apache/tvm/pull/12785#discussion_r972287621
########## include/tvm/tir/builtin.h: ########## @@ -720,6 +720,16 @@ TVM_DLL const Op& texture2d_load(); */ TVM_DLL const Op& mem_copy(); +/*! + * \brief Initiate a non-blocking DMA copy from source to destination + */ +TVM_DLL const Op& dma_copy(); + +/*! + * \brief Wait until the number of DMAs in flight is less than or equal to some maximum + */ +TVM_DLL const Op& dma_wait(); Review Comment: Right, I have attempted to make the pass / intrinsics generic. Perhaps that is not correct. We could leave as-is given CI is passing. Or, we could do _one or both_ of the following: 1) Make the pass / intrinsics specific to Hexagon 2) Add user level control to opt in to running this pass -- 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]
