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/25 04:05:35 UTC

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

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


##########
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:
   It would be great if we could also handle `"r"` and `"w"` for better readability



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