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/01/14 01:36:04 UTC

[GitHub] [tvm] Hzfengsy commented on a change in pull request #9880: [TIR] Encode conditional accesses info into block read/write regions

Hzfengsy commented on a change in pull request #9880:
URL: https://github.com/apache/tvm/pull/9880#discussion_r780737866



##########
File path: tests/python/unittest/test_tir_transform_compact_buffer_region.py
##########
@@ -413,6 +413,13 @@ def compacted_padding_pattern_func(a: T.handle, c: T.handle) -> None:
                 B[i, j] = A[i, j]
         for i, j in T.grid(20, 20):
             with T.block():
+                T.reads(
+                    B[
+                        T.max(i - 2, 0) : T.min(i + -2, 15) + 1,

Review comment:
       Should be `T.min(i - 2, 15)`?




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