-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LLVMGPU] Support CastTypeToFitMMA on TransformDialect script. (#17884)
Previously CastTypeToFitMMA relies on the `mma_schedule` attribute on the function's translationInfo to obtain information about `iree.amdgpu.mma`(intrnisic selected). While this is fine for C++ pipeline, the IR generated from TransformDialect script do not have such information. Instead IR generated in TD script typically annotate the `iree.amdgpu.mma`(intrnisic selected) directly on the vector.contractOps. This is a crucial part of enabling performant the latest attention compilation pipeline (with online attn + transpose fusion) which is based on TD scripts. --------- Co-authored-by: Kunwar Grover <[email protected]>
- Loading branch information
1 parent
44808e1
commit be461bd
Showing
2 changed files
with
49 additions
and
14 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