forked from triton-lang/triton
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MFMA][FRONTEND] Add more options for forced mfma layout sizes
This PR: - adds an `matrix_instr_nonkdim` options to force MFMA 64x4 and 4x64 layout: 464 corresponds 4(M)x64(N), 644 corresponds 64(M)x4(N) - adds tests for this option - fixes swizzling patter in some cases MFMA size heuristic now looks like this: 1. If kernel specific option is set, pick it 2. If the result tile shape is larger than 32x32, pick mfma32 3. If the tile shape is smaller than 32x32 but larger than 16x16, pick mfma16 4. if the tile shape is smaller than 4x64 or 64x4, pick mfma4x4 5. Otherwise, pick mfma4x64 or mfma64x4, depending on what tile fits into matrices
- Loading branch information
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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