Repository navigation
rescale_probe hands the MMA its accumulator halves as the tiles they are - #204
Merged
Merged
Conversation
#198 and #203 each merged green and composed into a build error: the STTM probe was written against the untyped MMA surface (#198), which #203 removed. The probe now speaks the typed one — alloc_block::<COLUMNS>, the two [128, 64] halves via split_columns/columns_right, and the shape argument gone because the tile is the shape. Same instructions, same launch, no semantic change.
feitreim
added a commit
that referenced
this pull request
Aug 6, 2026
…ent after it (#205) #204 adapted rescale_probe to the typed MMA surface and reached for split_columns to narrow the accumulator — but split_columns carves the segment *after* self (its own test says so in its name), so both MMAs wrote past the 128-column allocation and the drains read a segment nothing wrote. The case's self-attributing arithmetic caught it: every arm wrong at a multiplier naming no term, compounding x16 an arm as each rescale scaled the previous arm's leftovers. Typed with from_raw at the base, as the untyped .raw() call always meant.
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.
#198 (the STTM-into-MMA probe) and #203 (the typed TMEM/MMA surface) each merged green and composed into a compile error on main: the probe was written against the untyped API #203 removed, and the two diffs never touched the same line, so git saw no conflict.
The fix is the mechanical sweep #203 applied everywhere else:
alloc_block::<COLUMNS>/dealloc_block::<COLUMNS>, the two[128, 64]MMA halves expressed assplit_columns::<TILE>()andcolumns_right(TILE), and theMmaShapeargument deleted because the tile now carries the shape. Same instructions, same launch geometry, no semantic change to the case.Verified:
cargo clippy --all-targetson device-tests clean (0 errors, via local CUDA_TOOLKIT_PATH typecheck),scripts/fmt --checkclean. Actions is down (GitHub incident since 15:22Z); the Modal ladder (build, regcount, device_tests, examples) runs on main immediately after this merges, standing in for CI.