Repository navigation
Conversation
nihalpasham
force-pushed
the
docs/fix-tcgen05-sm120-claims
branch
from
August 30, 2026 10:07
4a23fa4 to
5d17828
Compare
Collaborator
|
This close was my mistake, not a judgment on the PR. What happened:
The work lives on in #1206 with your commit and authorship intact. What survived the rebase and what didn't:
Sorry for the churn on your first contribution here; #1194 closes through #1206 and the credit is yours. |
nihalpasham
added a commit
that referenced
this pull request
Aug 30, 2026
…ies #1202) (#1206) * docs: correct tcgen05 hardware claims to sm_100a (datacenter Blackwell) tcgen05/TMEM is a datacenter-Blackwell feature; consumer Blackwell (sm_120, RTX 50 series) has no TMEM and no tcgen05 instruction set. Fix every doc site that claimed sm_120 support: - tcgen05 + tcgen05_matmul READMEs: required GPU is sm_100a, add explicit NOT-supported note for consumer Blackwell (sm_120) - cuda-device tcgen05 rustdoc: drop the "sm_120: RTX 5090" bullet, frame the sm_100 TMEM-capable family instead - book safety-model Tier 3 table: tcgen05/TMEM rows -> sm_100a (Blackwell DC), CLC row -> sm_100+ (Blackwell) - tcgen05 example crate doc: "Blackwell-only (sm_100/sm_120)" -> "Blackwell datacenter-only (sm_100a)" Doc-only slice of PR #1202; the PR's runtime changes were superseded by the stronger capability gate that landed in #1203. Signed-off-by: Guilherme Pedroza <[email protected]> * docs: sync tcgen05 README transcripts with actual output; add sm_101a to family list - both READMEs showed a "Loading PTX from: ..." line the examples never print; transcripts now match the post-#1203 load sequence - tcgen05_matmul's non-datacenter transcript now quotes the literal warning the code prints ("WARNING: tcgen05 requires sm_100 (datacenter Blackwell)!") plus the full PTX-verification tail - cuda-device tcgen05 rustdoc family list gains sm_101a: the runtime allowlist in the examples accepts cc 10.0 / 10.1 / 10.3 / 11.0, so the docs must name all four arches Signed-off-by: nihalpasham <[email protected]> --------- Signed-off-by: Guilherme Pedroza <[email protected]> Signed-off-by: nihalpasham <[email protected]> Co-authored-by: Guilherme Pedroza <[email protected]>
This branch was previously deployed
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.
Summary
Fixes #1194. Multiple files across the
tcgen05andtcgen05_matmulstandalone examples, thecuda-devicemodule rustdoc, and the book's safety model chapter incorrectly listsm_120(consumer Blackwell) as supportingtcgen05/ TMEM.This PR aligns all of them with the correct hardware requirement:
sm_100a(Datacenter Blackwell). It also introduces acan_execute_tcgen05()pre-check across both standalone examples (matchinggemm_sol_final), avoiding unhandled driver JIT errors on unsupported architectures, and corrects the fallbackptxastarget to-arch=sm_100a.Changes
tcgen05/README.md&tcgen05_matmul/README.md: Update hardware requirements and comparison table fromsm_100/sm_120tosm_100a(Datacenter Blackwell); explicitly notesm_120is not supported due to the absence of TMEM.tcgen05/src/main.rs&tcgen05_matmul/src/main.rs: Addcan_execute_tcgen05()pre-check before module loading (matchinggemm_sol_final) to cleanly decline execution on consumer Blackwell / pre-Blackwell with informative diagnostics instead of driver errors; fixptxasvalidation target to-arch=sm_100a.cuda-device/src/tcgen05.rs: Correct Hardware Support rustdoc to listsm_100a(Datacenter B100/B200) alongsidesm_103a(Blackwell Ultra) andsm_110a(Jetson Thor) under thecompute_100TMEM-capable architecture family, and explicitly note thatsm_120uses register-basedmma.syncinstead.cuda-oxide-book/gpu-safety/the-safety-model.md: Maptcgen05andTMEMtosm_100a (Blackwell DC)andCLCtosm_100+ (Blackwell)in the Tier 3 raw hardware table.Testing
Verified on physical hardware with an NVIDIA GeForce RTX 5060 Ti (
sm_120):1. Unified runtime UX across
tcgen05andtcgen05_matmulonsm_120:2. Instruction-level isolation of
ptxasrejection onsm_120a:Assembling a
.target sm_120aPTX containingtcgen05.allocconfirms that the assembler rejectstcgen05instructions at the instruction level onsm_120a:3. Workspace verification:
cargo checkandcargo clippy --workspace --all-targets -- -D warningspass cleancuda-deviceunit tests passcargo fmt --checkcleanChecklist
git commit -s)