Skip to content

The rescale probe's left half is the accumulator's base, not the segment after it - #205

Merged
feitreim merged 1 commit into
mainfrom
fix/rescale-left-half-base
Aug 6, 2026
Merged

feitreim merged 1 commit into
mainfrom
fix/rescale-left-half-base

Conversation

@feitreim

@feitreim feitreim commented Aug 6, 2026

Copy link
Copy Markdown
Owner

#204 adapted rescale_probe to the typed MMA surface and reached for split_columns::<TILE>() to narrow the accumulator — but split_columns carves the segment after self (its own test name says so), so both MMAs wrote past the 128-column allocation and every drain read a segment nothing wrote. The case's self-attributing arithmetic caught it: every arm wrong at a multiplier naming no term, compounding ×16 an arm as each rescale scaled the previous arm's leftovers. Typed as TmemTile::from_raw at the base — what the untyped .raw() call always meant.

Verified before merge this time: 54 of 54 device-tests cases pass on a B200 (the run #204 skipped). Clippy/fmt clean. Actions remains in outage; this hand-run is the coverage.

Process note for the log: #204 was merged compile-verified but not device-verified, and the ladder script's success markers keyed off piped tail exit codes, which is how a red device_tests initially printed GREEN. Both practices corrected.

…ent after it

#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant