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/04/26 06:38:38 UTC

[GitHub] [tvm] qsqqsqqsq commented on a diff in pull request #11110: [TIR] Get read/write access precisely for opaque access.

qsqqsqqsq commented on code in PR #11110:
URL: https://github.com/apache/tvm/pull/11110#discussion_r858331369


##########
tests/python/unittest/test_tir_schedule_compute_inline.py:
##########
@@ -185,7 +185,7 @@ def opaque_access_load(a: T.handle, c: T.handle) -> None:
             T.writes(C[0:128, 0:128])
             T.evaluate(
                 T.tvm_access_ptr(
-                    T.type_annotation(dtype="float32"), B.data, 0, 128, "r", dtype="handle"
+                    T.type_annotation(dtype="float32"), B.data, 0, 128, 1, dtype="handle"

Review Comment:
   OK, I use access_prt in this case.:
   `  T.evaluate(B.access_ptr("r", extent=128))`



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