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/08/26 05:14:36 UTC

[GitHub] [tvm] cyx-6 opened a new pull request, #12611: [TIR] Expose Memory Copy-Related PTX Builtins

cyx-6 opened a new pull request, #12611:
URL: https://github.com/apache/tvm/pull/12611

   This PR exposes the following TIR operation in python:
   
   `ptx_ldmatrix`: tested [here](https://github.com/apache/tvm/blob/a9f7c32e42a5f09e641dbe83f81cc4a73869af12/tests/python/unittest/test_tir_ptx_ldmatrix.py#L41)
   `ptx_cp_async`: tested [here](https://github.com/apache/tvm/blob/a9f7c32e42a5f09e641dbe83f81cc4a73869af12/tests/python/unittest/test_tir_ptx_cp_async.py#L37)
   `ptx_commit_group`: tested [here](https://github.com/apache/tvm/blob/a9f7c32e42a5f09e641dbe83f81cc4a73869af12/tests/python/unittest/test_tir_ptx_cp_async.py#L43)
   `ptx_wait_group`: tested [here](https://github.com/apache/tvm/blob/a9f7c32e42a5f09e641dbe83f81cc4a73869af12/tests/python/unittest/test_tir_ptx_cp_async.py#L44)
   
   Co-authored-by: yongwww <yo...@gmail.com>
   
   


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


[GitHub] [tvm] Hzfengsy commented on a diff in pull request #12611: [TIR] Expose Memory Copy-Related PTX Builtins

Posted by GitBox <gi...@apache.org>.
Hzfengsy commented on code in PR #12611:
URL: https://github.com/apache/tvm/pull/12611#discussion_r955667518


##########
tests/python/unittest/test_tir_op_types.py:
##########
@@ -203,11 +229,15 @@ def test_tir_op_TVMBackendFreeWorkspace():
     test_tir_op_type_annotation()
     test_tir_op_tvm_access_ptr()
     test_tir_op_tvm_throw_last_error()
-    test_tir_op_tvm_load_matrix_sync(),
-    test_tir_op_tvm_store_matrix_sync(),
-    test_tir_op_tvm_mma_sync(),
-    test_tir_op_tvm_bmma_sync(),
-    test_tir_op_tvm_fill_fragment(),
+    test_tir_op_tvm_load_matrix_sync()

Review Comment:
   Would be great if we could use `tvm.testing.main()`



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


[GitHub] [tvm] cyx-6 commented on a diff in pull request #12611: [TIR] Expose Memory Copy-Related PTX Builtins

Posted by GitBox <gi...@apache.org>.
cyx-6 commented on code in PR #12611:
URL: https://github.com/apache/tvm/pull/12611#discussion_r955679151


##########
tests/python/unittest/test_tir_op_types.py:
##########
@@ -203,11 +229,15 @@ def test_tir_op_TVMBackendFreeWorkspace():
     test_tir_op_type_annotation()
     test_tir_op_tvm_access_ptr()
     test_tir_op_tvm_throw_last_error()
-    test_tir_op_tvm_load_matrix_sync(),
-    test_tir_op_tvm_store_matrix_sync(),
-    test_tir_op_tvm_mma_sync(),
-    test_tir_op_tvm_bmma_sync(),
-    test_tir_op_tvm_fill_fragment(),
+    test_tir_op_tvm_load_matrix_sync()

Review Comment:
   updated



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


[GitHub] [tvm] Hzfengsy merged pull request #12611: [TIR] Expose Memory Copy-Related PTX Builtins

Posted by GitBox <gi...@apache.org>.
Hzfengsy merged PR #12611:
URL: https://github.com/apache/tvm/pull/12611


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