Repository navigation
feat(wgmma): add f16 m64n128k16 async MMA - #1352
Merged
Merged
Conversation
Copy the bf16 m64n128 linear full-drain carrier. The instruction spelling follows the existing f16 m64n64 form, wgmma.mma_async.sync.aligned.m64n128k16.f32.f16.f16, with the same 64-value f32 accumulator and 1, 1, 1, 0, 0 controls. Host tests check that PTX shape; a Hopper run is still needed for numeric values. Signed-off-by: YeonwooSung <[email protected]>
The handwritten NVVM op count is now 28, with 16 wgmma ops. Signed-off-by: YeonwooSung <[email protected]>
…ma-f16-m64n128k16 Signed-off-by: YeonwooSung <[email protected]>
Signed-off-by: nihalpasham <[email protected]>
nihalpasham
approved these changes
Nov 3, 2026
Collaborator
|
/ok to test 96ef4c4 |
Collaborator
|
Thanks, adding the At |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What This PR Does
Adds the
f16sibling (wgmma_mma_m64n128k16_f32_f16->wgmma.mma_async.sync.aligned.m64n128k16.f32.f16.f16) of the existingbf16m64n128k16warpgroup MMA, using the same 64-register[[f32; 8]; 8]accumulator layout and value-carrier lowering.Verification
ptxas sm_90a):cargo test -p cuda-oxide-codegen --test wgmma_value_carrier_ptxverifies both single and chainedf16m64n128k16groups assemble forsm_90awith0register spills.cargo test -p dialect-nvvm -p mir-importer -p mir-lower --all-targets,just fmt-check,cargo clippy, and repository guards all pass.Refs #338