-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparation for data-tiled
multi_mma
codegen (#18532)
* Refactor `get*SingleSubgroupLayout`. * Move the logic to global functions so they can be shared with other code. This will need to be shared with `DataTiledMMAAttr` and also with other utility functions dealing with swizzlings. * Use `MMAFragment` consistently. * We already have this enum for identifying A/B/C operands in a matmul, so use that instead of raw integer operandIndex. * Compute instruction-level swizzles from subgroup layouts. * The logic in `getIntrinsicSwizzle` was redundant with the existing subgroup layout descriptions, and was less general. Now it's just computed. * Create `TileSwizzle.h` to decouple `TileSwizzle` from `MaterializeEncodingInfo`. * This data structure is soon going to be used outside of `MaterializeEncoding` logic. * Introduce `GPUTileSwizzleUtils.cpp` to move some code out of `GPUMaterializeEncoding`. --------- Signed-off-by: Benoit Jacob <[email protected]>
- Loading branch information
Showing
13 changed files
with
360 additions
and
253 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
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
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
Oops, something went wrong.