-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIR] [Schedule] Add get_output_blocks primitive #14490
[TIR] [Schedule] Add get_output_blocks primitive #14490
Conversation
When scheduling fused ops, its really useful to be able to get all the output blocks and schedule other blocks in the fused op with respect to output blocks. This helps avoid hardcoding block names in manually written schedules in many cases
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.
Generated by tvm-bot |
@tvm-bot rerun |
one more attempt to get cross-isa-minimal working |
@tvm-bot rerun |
This commit updates the primitive to take scope block as argument and return all output blocks under that scope. In order to get all output blocks of a PrimFunc, the root block can be passed
Thanks @quic-sanirudh for the continuous improvement. Let's merge it when the ci is green |
@tvm-bot rerun |
When scheduling fused ops, its really useful to be able to get all the output blocks and schedule other blocks in the fused op with respect to output blocks. This helps avoid hardcoding block names in manually written schedules in many cases