junrushao1994 commented on a change in pull request #10365:
URL: https://github.com/apache/tvm/pull/10365#discussion_r813513937



##########
File path: include/tvm/tir/builtin.h
##########
@@ -626,6 +626,13 @@ TVM_DLL const Op& texture2d_store();
  */
 TVM_DLL const Op& texture2d_load();
 
+/*!
+ * \brief Copy 1d memory from source to destination
+ * Same semantics as memcpy(destination, source, size)
+ * Allows for device specific implementations e.g. direct memory access (DMA)
+ */
+TVM_DLL const Op& mem_copy();

Review comment:
       Is it possible to make it more specific? We have a few examples above 
like texture2d_load/store. What about dma_mem_copy() or any hexagon-specific 
name? 




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