Equation 29 · Part 2 · Locality Is the Whole Game: The Memory Hierarchy and What a Kernel Does Not Read
Symbol N
What this part means
N is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Its job in the formula
N is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Full expression→Symbol N→Article meaning
The passage around this formula
FlashAttention converted that observation into wall-clock speed by combining tiling with recomputation. Blocks of the inputs are loaded into on-chip SRAM, the softmax reduction is performed incrementally across blocks using the online normaliser, and the output is written back without the score matrix ever reaching main memory; for the backward pass, the softmax normalisation factors are kept from the forward pass so that attention can be recomputed on-chip, which the authors state is faster than reading the stored intermediate back from HBM. Their analysis gives O( ) HBM accesses against for standard attention, with a matching lower bound showing no exact…
Learn the underlying idea
A variable is a named place for a value. Its letter is a local label: x can mean position in one formula and a data point in another.
Open the illustrated variables: a letter stands for a value guide →
See this notation across published equations →
Sources cited in the surrounding passage
These citations provide research context; check each source for the exact claim it supports.