-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LLVMGPU] Support i8 MFMA intrinsics in GPUTileAndFuse pipeline (#18104)
This PR simply adds `MFMA_I8_16x16x32_I32` to the list of allowed enums in `MMAAttr::populateOperandOffsetsSizesStrides`. This enables the logic to pack and lower a contraction to this intrinsic with the `GPUTileAndFuse`. The layout for `MFMA_I8_16x16x32_I32` is very similar to the layout for `MFMA_F16_16x16x16_F32`, which is already supported, so the pipeline is already ready to handle the i8 intrinsic case. Numerical correctness has been verified on an MI300 card for a 256x256x256 matmul. Signed-off-by: Max Dawkins <max.dawkins@gmail.com>
- Loading branch information
Showing
2 changed files
with
68 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