Cache Hierarchy

Shared Foundations · Execution Hardware · cache-hierarchy.yaml

Successive levels trade capacity for latency and bandwidth. Almost every optimisation below the algorithmic level is a rearrangement to make a working set fit one level higher up.

Colour is the family; a dashed line is the second member of it.

Drag to pan · scroll to zoom · click a node to open it
G cache-hierarchy Cache Hierarchy flash-attention FlashAttention flash-attention->cache-hierarchy it tiles attention to fit in on-chip memory

Referenced by

References