junrushao1994 commented on a change in pull request #8693:
URL: https://github.com/apache/tvm/pull/8693#discussion_r686483010
##########
File path: python/tvm/tir/schedule/schedule.py
##########
@@ -710,6 +710,77 @@ def after_rfactor(a: ty.handle, b: ty.handle) -> None:
"""
return _ffi_api.ScheduleRFactor(self, loop, factor_axis) # type:
ignore # pylint: disable=no-member
+ ######## Schedule: Block annotatoin ########
+
+ def storage_align( # pylint: disable=too-many-arguments
+ self, block: BlockRV, buffer_index: int, axis: int, factor: int,
offset: int
+ ) -> None:
+ """Set alignment requirement for specific dimension such that
+ stride[axis] == k * factor + offset for some k.
Review comment:
There are some TE docs that we could probably add here:
https://tvm.apache.org/docs/api/python/te.html#tvm.te.Stage.storage_align
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]