Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Codegen][GPU] Finish splitting NV intrinsics from AMD ones #19853

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

qedawkins
Copy link
Contributor

The split of WMMA_* enums into Nvidia and AMD variants was half finished. This completely splits the handling of each vendor. In the process, because concrete layouts for nvidia intrinsics is unimplemented, the only supported case is opaque layouts via SPIR-V. This required re-introducing getMNKShape per enum value rather than inferring it from the layout.

This PR is effectively NFC, but unblocks enabling LLVMGPUTileAndFuse by default for matmuls.

The split of `WMMA_*` enums into Nvidia and AMD variants was half
finished. This completely splits the handling of each vendor. In the
process, because concrete layouts for nvidia intrinsics is
unimplemented, the only supported case is opaque layouts via SPIR-V.
This required re-introducing `getMNKShape` per enum value rather than
inferring it from the layout.

This PR is effectively NFC, but unblocks enabling LLVMGPUTileAndFuse by
default for matmuls.
@qedawkins qedawkins requested a review from bjacob January 31, 2025 16:22
@qedawkins qedawkins merged commit 0159762 into iree-org:main Jan 31, 2025
41 checks passed
@qedawkins qedawkins deleted the finish_nv_intrinsics branch January 31, 2025 19:29
ita9naiwa pushed a commit to ita9naiwa/iree that referenced this pull request Feb 4, 2025
…#19853)

The split of `WMMA_*` enums into Nvidia and AMD variants was half
finished. This completely splits the handling of each vendor. In the
process, because concrete layouts for nvidia intrinsics is
unimplemented, the only supported case is opaque layouts via SPIR-V.
This required re-introducing `getMNKShape` per enum value rather than
inferring it from the layout.

This PR is effectively NFC, but unblocks enabling LLVMGPUTileAndFuse by
default for matmuls.

Signed-off-by: Hyunsung Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants