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
Shared vectors are absent entirely. ThunderKittens has sv as a first-class type with its own maps, reductions, conversions, and TMA paths (ops/group/memory/vec/, ops/group/shared/vec/).
We keep row statistics only in registers (RegVec). That works for a fused flash kernel where the statistic never leaves the warpgroup that computed it, but it blocks anything that needs to hand a vector between warps or across a work item: biases, running norm accumulators, per-row scales computed by a producer warp.
Related and equally absent: ops on shared tiles. ThunderKittens instantiates its full map and reduction surface for st as well as rt (ops/group/shared/tile/maps.cuh, reductions.cuh). For us shared memory is a movement target only — data has to come back to registers before anything can be done to it.
Shape
SharedVec<E, const N: usize> alongside SharedTile, sharing the swizzle/layout machinery.
Acceptance: update examples/ as part of closing this.
layernorm's gamma/beta: parameters shared by every row, wanted in shared memory with their own TMA path.
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.layernorm'sgamma/beta: parameters shared by every row, wanted in shared memory with their own TMA path.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.
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 band loop is a call now, in all four kernels
Composed movers: a whole [M, N] band, both memories, both directions (#…
examples: the scalar broadcasts are the real API now
Scalar-operand maps: scale, shift, and a free rsqrt over the existing…
examples: layernorm_rows leaves its feature gate
Shared vectors: an unswizzled run of elements, and the box to deliver…