Repository navigation
docs(book): the feature appendix has no row for tensor cores, and calls FP8 Planned - #1054
Merged
nihalpasham merged 2 commits intoAug 20, 2026
Merged
Conversation
…ls FP8 Planned
The page opens by promising "every compiler capability, runtime API, and
hardware feature along with its current support status." Three gaps against
that promise, in increasing order of size.
**FP8 is listed as not implemented.** Under "Not Yet Implemented":
| FP8 / MX Data Types | **Planned** | Roadmap item for Blackwell.
No architectural limitation. |
The catalog holds 158 entries for these formats -- 12 conversions and 146
matrix ops -- surfacing as `pub unsafe fn` in `cuda_device::convert`,
`cuda_device::wmma` and `cuda_device::tcgen05`, and the `mma_mxf8f6f4` example
compiles them. By the page's own legend that is **Partial**, not Planned.
The gap is real and worth naming rather than dropping the row: there is *no
arithmetic* on these formats. Grouping the 158 by kind gives 12 `cvt` and 146
`mma`, and nothing matching add/mul/sub/fma/min/max/abs. So a value is carried
as a packed bit pattern and converted before use, unlike `f16`/`bf16`, which
have their own scalar and packed arithmetic modules. That is what the new row
says.
**The Warp section has no `redux.sync` row**, although `cuda_device::warp`
exports sixteen of them. The section lists shuffle, vote and lane/warp ID. The
new row carries both halves and their different floors: integers on sm_80+,
and `f32` min/max with optional `.abs`/`.NaN` on
`sm_100a`/`sm_100f`/`sm_103a`/`sm_103f` (NVIDIA#1032). `f64` has no form, which the
row also says.
**There is no matrix or tensor-core section at all.** `grep -i` for "tensor
core", "wgmma", "tcgen05", "wmma", "mma" or "TMEM" across the whole appendix
returns nothing -- no row for warp-level `mma.sync`, sparse MMA, Hopper
warpgroup MMA, Blackwell tcgen05/TMEM, or the accumulator fragment algebra, in
the feature matrix of a compiler whose headline example is a Blackwell GEMM.
Add a section for it, and move the FP8 row there, since the matrix path is
where those formats are actually used.
Statuses are calibrated against the existing TMA section, which is the other
Hopper+ hardware feature and marks compile-only-in-CI capabilities **Full**
with the architecture stated in the description. These rows follow that.
Every row is sourced from the tree, not from memory: module summaries come
from each module's own `//!` header (`wgmma` states Hopper `sm_90a`, `tcgen05`
Blackwell sm_100+), sparse MMA is confirmed by the `mma.sp.sync.aligned.*`
strings in `generated/sparse_mma.rs`, and the redux names are checked against
`pub fn` declarations in `warp.rs`. Book builds clean under `sphinx-build -W`
and `check-book-api-names.sh` passes.
Signed-off-by: Vyncint Ng <[email protected]>
… feature appendix
Collaborator
|
nihalpasham
approved these changes
Aug 20, 2026
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.
The page opens by promising "every compiler capability, runtime API, and hardware feature along with its current support status." Three gaps against that, in increasing size.
1. FP8 is listed as not implemented
Under Not Yet Implemented:
The catalog holds 158 entries for these formats — 12 conversions and 146 matrix ops — surfacing as
pub unsafe fnincuda_device::convert,cuda_device::wmmaandcuda_device::tcgen05, and themma_mxf8f6f4example compiles them. By the page's own legend that is Partial, not Planned.The gap is real and worth naming rather than deleting the row: there is no arithmetic on these formats. Grouping the 158 by kind gives 12
cvtand 146mma, and nothing matching add/mul/sub/fma/min/max/abs. So a value is carried as a packed bit pattern and converted before use, unlikef16/bf16, which have their own arithmetic modules. That is what the new row says.2. The Warp section has no
redux.syncrowcuda_device::warpexports sixteen of them; the section lists shuffle, vote and lane/warp ID. The new row carries both halves and their different floors: integers on sm_80+, andf32min/max with optional.abs/.NaNonsm_100a/sm_100f/sm_103a/sm_103f(#1032).f64has no form, which the row also says.3. There is no matrix or tensor-core section at all
grep -ifor "tensor core", "wgmma", "tcgen05", "wmma", "mma" or "TMEM" across the whole appendix returns nothing. No row for warp-levelmma.sync, sparse MMA, Hopper warpgroup MMA, Blackwell tcgen05/TMEM, or the accumulator fragment algebra — in the feature matrix of a compiler whose headline example is a Blackwell GEMM. This adds a section for it, and moves the FP8 row there, since the matrix path is where those formats are used.Calibration and sourcing
Statuses follow the existing TMA section, the other Hopper+ hardware feature, which marks compile-only-in-CI capabilities Full with the architecture stated in the description.
Every row is sourced from the tree: module summaries from each module's own
//!header (wgmmastates Hoppersm_90a,tcgen05Blackwell sm_100+), sparse MMA from themma.sp.sync.aligned.*strings ingenerated/sparse_mma.rs, and the redux names frompub fndeclarations inwarp.rs. Book builds clean undersphinx-build -W;check-book-api-names.shpasses.