Repository navigation
Closed
Description
Summary
The tcgen05 catalog already supports narrow .kind::f8f6f4 MMA through the generic standard MMA surface, and warp-specialized typed aliases already exist for the narrow homogeneous formats.
What is still missing is the equivalent typed, checked convenience surface for standard non-warp-specialized MMA.
Add standard aliases for the five homogeneous narrow formats:
tcgen05_mma_e4m3tcgen05_mma_e5m2tcgen05_mma_e2m3tcgen05_mma_e3m2tcgen05_mma_e2m1
These should follow the existing generated intrinsic workflow rather than introducing handwritten wrappers.
Expected semantics
Each alias should select the standard shared MMA form with:
kind::f8f6f4
cta_group::1
collector::a::discard
and expose the compatibility signature:
pub unsafe fn tcgen05_mma_<format>(
d_tmem: u32,
a_desc: u64,
b_desc: u64,
idesc: u32,
enable_d: bool,
)Implementation requirements
- Add the five variants through
intrinsics/overlay/tcgen05.toml. - Append stable ABI entries to
intrinsics/abi-v1.toml. - Generate the public device APIs, dialect operations, importer dispatch, lowering routes, target metadata, probes, and reference output.
- Reuse the existing tcgen05 standard MMA selector model and LLVM symbol.
- Preserve the existing warp-specialized aliases and generic standard MMA APIs.
- Keep the compact tcgen05 MMA admission closed and deterministic.
Evidence
Both existing tcgen05 MMA evidence profiles should cover the five new aliases:
- pinned Rust LLVM / NVPTX
- CUDA 13.3 libNVVM
The generated probes should lower to:
tcgen05.mma.cta_group::1.kind::f8f6f4.collector::a::discard
Acceptance criteria
- All five public aliases are generated.
- All five ABI entries are appended without changing existing ABI identities.
- Generated intrinsic outputs are current.
- All five probes pass.
cargo test -p cuda-intrinsics-genpasses.cargo oxide setupsucceeds.cargo oxide fmt --checkpasses.scripts/smoketest.sh --compile-onlypasses.
Out of scope
- Mixed narrow-format A/B aliases.
- New first-class FP6 or FP4 arithmetic types.
- Conversion intrinsics for FP6 or FP4.
- Warp-specialized API changes.
Part of #339.
Metadata
Metadata
Assignees
Labels
No labels
Activity