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/23 23:33:15 UTC

[GitHub] [tvm] jwfromm commented on a diff in pull request #12564: [Runtime] Change default alignment to 64 bits.

jwfromm commented on code in PR #12564:
URL: https://github.com/apache/tvm/pull/12564#discussion_r953188945


##########
python/tvm/tir/schedule/schedule.py:
##########
@@ -2092,9 +2092,9 @@ def before_tensorize(
 
             @T.prim_func
             def mma_desc(a: T.handle, b: T.handle, c: T.handle) -> None:
-                A = T.match_buffer(a, (16, 16), align=128, offset_factor=1)
-                B = T.match_buffer(b, (16, 16), align=128, offset_factor=1)
-                C = T.match_buffer(c, (16, 16), align=128, offset_factor=1)
+                A = T.match_buffer(a, (16, 16), align=64, offset_factor=1)
+                B = T.match_buffer(b, (16, 16), align=64, offset_factor=1)
+                C = T.match_buffer(c, (16, 16), align=64, offset_factor=1)

Review Comment:
   Ah make sense, reverted. Is there anywhere else we'd want 128 byte alignment? I just did a global search and replace.



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