You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Movers work in [16,16] blocks; every kernel rewrites the same composition loop #22
TmemTile::fragment_tile, TmemTile::store_fragment_tile (#10), and ldst::store_fragment all move exactly one [16, 16]Fragment. A kernel
holding a RegTile<32, 128, BaseLdtm> has to write the composition itself:
Every consumer spells that out. device-tests needed it three times before it
was factored into local drain_band / stage_band helpers (#10) — and those
helpers live in the test crate, so the next kernel writes them again.
Worse, reg.rs's own test suite asserts this composition as an invariant while
no library function implements it. The rule is documented, tested, and
unavailable.
Surfaced by the examples (#18): all four kernels wanted it.
Shape
Library-level movers over the composed shape, generic on [M, N] the way RegTile already is:
drain_band / stage_band in device-tests/src/main.rs are a working
reference implementation — lift them, do not redesign them.
Note this was a deliberate scope call in #10 ("composing a taller or wider
shape out of these is the caller's, exactly as it is on the drain side"), which
was right for that issue and is what this one revisits. Both directions should
land together so they cannot drift.
Depends on #1. Related: #21 (the shared-side mover has the same problem, and a
composed form should land with it rather than after).
Acceptance: update examples/ as part of closing this.
gemm writes the block-composition loop by hand today, and flash_forward would. device-tests' drain_band/stage_band are the reference implementation to lift.
The examples crate (#18) exists so that "done" is checkable in the terms a kernel author cares about, rather than as a claim about a primitive nobody has tried to hold. Concretely, on closing this:
Delete any workaround or GAP fence in examples/src/ that this issue removes the need for, and replace it with the real API.
If a kernel becomes fully unblocked, move it from aspirational to compiles: flip its header, take it out of its feature gate, and confirm modal run modal_app.py::build builds it for sm_100a.
Update the status table and the blocked-on lists in examples/README.md.
If the example still does not compile afterwards, that is a finding worth writing down — say what is still missing rather than leaving the README stale.
Activity
feitreim commentedon Jul 27, 2026
Acceptance: update
examples/as part of closing this.gemmwrites the block-composition loop by hand today, andflash_forwardwould.device-tests'drain_band/stage_bandare the reference implementation to lift.The examples crate (#18) exists so that "done" is checkable in the terms a kernel author cares about, rather than as a claim about a primitive nobody has tried to hold. Concretely, on closing this:
GAPfence inexamples/src/that this issue removes the need for, and replace it with the real API.aspirationaltocompiles: flip its header, take it out of its feature gate, and confirmmodal run modal_app.py::buildbuilds it forsm_100a.examples/README.md.If the example still does not compile afterwards, that is a finding worth writing down — say what is still missing rather than leaving the README stale.
Shared to register load: ldst::load_fragment (#33)
SwizzledChunks spans stacked subtiles (#35)
examples: the reductions, and what is left after #5 and #6
Reductions: generic row/column/whole-tile folds over a ReduceOp (#37)
TMA store path, and softmax runs (#41)
examples: the scalar broadcasts are the real API now
examples: what the scalar-map probe says about #31's framing
Scalar-operand maps: scale, shift, and a free rsqrt over the existing…
Global to and from registers, with no descriptor in the way (#11)
Global to and from registers, with no descriptor in the way (#11) (#59)