Skip to content

docs(examples): tma_multicast does run on consumer Blackwell - #668

Merged
nihalpasham merged 1 commit into
NVIDIA:mainfrom
vyncint:fix/tma-multicast-stale-claim
Aug 6, 2026
Merged

nihalpasham merged 1 commit into
NVIDIA:mainfrom
vyncint:fix/tma-multicast-stale-claim

Conversation

@vyncint

@vyncint vyncint commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The follow-up you flagged reviewing #658.

tma_multicast claimed in two places that TMA multicast is "NOT supported on consumer Blackwell (sm_120)" — once in the module header, once in the runtime message printed when the module fails to load. Your measurement says otherwise:

the sm_100a tma_multicast PTX JIT-loads and passes on an RTX 5090, so the "consumer Blackwell does not support TMA multicast" fallback text is outdated

The change

Both places now state the floor rather than enumerate what supposedly does not work:

//! - Blackwell (sm_100a or later): datacenter B100/B200/GB200, and reported to
//!   load and run on consumer sm_120 as well
//! - Not supported on Hopper (sm_90) or earlier

The Hopper-and-earlier half was accurate and is kept.

I have no Blackwell hardware, so the positive claim is attributed, not re-measured — the header says sm_120 is reported to load and run, and the runtime message simply names the floor rather than asserting anything about a device I have not tested. If you would rather it state the sm_120 result flatly on the strength of your measurement, say so and I will tighten the wording.

The major < 10 guard is unchanged and correct: on sm_120 it does not fire, so the example runs its real path — which is exactly how you observed it passing.

Docs and one println! only; no behaviour change. cargo fmt --check clean.

The example claimed, in both its module header and its runtime message, that
TMA multicast is "NOT supported on consumer Blackwell (sm_120)". Reviewing NVIDIA#658,
@nihalpasham measured the opposite: the sm_100a tma_multicast PTX JIT-loads and
the test passes on an RTX 5090.

Corrected to state the floor (sm_100a or later) without the false exclusion,
and to keep the accurate half -- Hopper and earlier really cannot run it.

I have no Blackwell hardware, so the positive claim is attributed rather than
re-measured: the header says sm_120 is reported to load and run, and the
runtime message names the floor instead of enumerating what does not work.

Refs NVIDIA#658

Signed-off-by: Vyncint Ng <[email protected]>
@nihalpasham nihalpasham added documentation Improvements or additions to documentation examples Example kernels and host harnesses under crates/rustc-codegen-cuda/examples cuda-feature A CUDA hardware/toolkit feature (TMA, tcgen05, WGMMA) labels Aug 6, 2026
@nihalpasham

Copy link
Copy Markdown
Collaborator

Matches what we measured: the example JIT-loads and passes on our RTX 5090 (sm_120), and the PTX ISA gates multicast::cluster at sm_90+ with the a-suffix targets as a performance note.

Stating the floor with the sm_120 result attributed is the good. Thanks for the follow-up from the #658 review.

@nihalpasham
nihalpasham merged commit bbce7f0 into NVIDIA:main Aug 6, 2026
34 checks passed
@lucifer1004

Copy link
Copy Markdown
Contributor

Should note that tma_multicast does run on sm_120 but is the perf can be very poor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda-feature A CUDA hardware/toolkit feature (TMA, tcgen05, WGMMA) documentation Improvements or additions to documentation examples Example kernels and host harnesses under crates/rustc-codegen-cuda/examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants