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
SwizzledChunks cannot span stacked subtiles: only 64-wide bf16 tiles have a register<->shared path #25
SharedTile::chunk_writer / SwizzledChunks address within a single 128-byte
swizzle atom, so the register<->shared path only exists for tiles exactly one
subtile wide — 64 bf16 columns.
device-tests says as much where it defines its square tile: "64 bf16 columns
is exactly one 128-byte swizzle atom per row, the only width SharedTile::chunk_writer accepts." Every other SharedTile shape in the
crate is wider and reachable only by TMA.
Surfaced by the examples (#18), where writing a result tile back to shared for
a TMA store hits this on any realistic width.
SharedTile already knows how to walk stacked subtiles — SUBTILE_BYTES and SUBTILES drive the MMA operand walks in mma.rs. This is about giving SwizzledChunks the same subtile-stride awareness those walks already have,
so a (row, column) past the first atom resolves correctly.
Should land with or near #21 (the shared->register load) and #22 (composed
movers): all three are the same underlying complaint, that the register<->shared
path is narrower than the tiles the library can otherwise describe.
Not the same as #14, which is about other swizzle modes (32B/64B/none) rather
than spanning multiple atoms of the 128B one.
Acceptance: update examples/ as part of closing this.
softmax's [128, 128] tile has no register -> shared path at all, so it cannot write its result back.
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.softmax's[128, 128]tile has no register -> shared path at all, so it cannot write its result back.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)