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
Examples crate: kernels written against the API we want, compiling or not #18
An examples/ crate holding real kernels — flash-attention forward, a GEMM, a
softmax, a layernorm — written the way we want them to read.
Aspirational examples are the point, not a compromise. Every issue in this
backlog is currently justified by "ThunderKittens has it." That is an argument
from authority, and it does not tell us what our API should look like or which
gaps actually hurt. An example that does not compile yet is a precise,
executable statement of the missing surface: the diff between it and the
library is the backlog, expressed in the only terms that matter — what a
kernel author has to write.
It also catches the failure mode where every primitive exists and composing
them is still miserable. Nothing else in the plan would surface that.
Layout
Its own crate with its own [workspace] stanza, like device-tests, so the
root cargo check never sees it and a non-compiling example cannot break the
library's build or CI.
Each example carries a header stating its status:
compiles — builds today under cargo oxide build --arch sm_100a
aspirational — names API that does not exist yet, with the issue numbers
it is blocked on
Anything aspirational stays out of the default build target (a #[cfg] or a
commented module line) so that compiles examples stay honest and a reader
can tell the two apart without running anything.
First examples
flash-attention forward — the kernel the register/TMEM/MMA layer was
extracted from. The most load-bearing one: it should read like the paper.
GEMM — the mma_walk_cg2 cluster path, which no test currently covers.
Each example promoted from aspirational to compiling is a real, legible
milestone, and the promotion is what proves an issue is actually finished —
as opposed to shipping a primitive nobody has tried to hold.
Activity