[tune][xegpu] infrastructure for tuning, applied to XeGPU matmul example#63
Draft
[tune][xegpu] infrastructure for tuning, applied to XeGPU matmul example#63
Conversation
tkarna
reviewed
Mar 5, 2026
Comment on lines
+72
to
+74
| if dump_schedule: | ||
| print(schedule_module) | ||
| sys.exit(0) |
Contributor
There was a problem hiding this comment.
With the previous implementation it was possible to dump the payload followed the schedule that produced it.
tkarna
reviewed
Mar 5, 2026
Comment on lines
+69
to
+73
| assert 64 <= wg_m <= 256 and m % wg_m == 0 and wg_m % DPAS.M == 0 | ||
| assert 64 <= wg_n <= 256 and n % wg_n == 0 and wg_n % DPAS.N == 0 | ||
| assert 32 <= sg_m <= 128 and m % sg_m == 0 and sg_m % DPAS.M == 0 | ||
| assert 32 <= sg_n <= 128 and n % sg_n == 0 and sg_n % DPAS.N == 0 | ||
| assert 16 <= k_tile <= 50 and k % k_tile == 0 and k_tile % DPAS.K == 0 |
Contributor
There was a problem hiding this comment.
This is very nice! We do however need to have some mechanism to change the search space bounds from outside. E.g., sometimes you want to autotune with a larger search space. Maybe the bounds could be set in the constructor of the abstract schedule (i.e. one without concrete chosen param values)?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.