You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/02/24 16:42:24 UTC

[GitHub] [tvm] adstraw commented on a change in pull request #10365: Lower cache_read and cache_write to Hexagon DMA via tensorize

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



##########
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:
       I was thinking about something with "DMA" in the name but I realized that DMA is more of an implementation detail.  I ended up referencing DMA in the comments instead.  Happy to take suggestions including `dma_mem_copy`.




-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org