Skip to main content
Search

# FlashAttention

1 related articles

Subscribe to updates
  1. arXiv

    Widening CPU vectors hits the L1 capacity wall: turning private L2 into a software-managed scratchpad gives 1.44x GEMM speedup at 2048 bits

    When CPUs widen SIMD vectors from 512 to 2048 bits, compute grows but L1 data cache capacity does not, so data shuttles between L1 and L2 and throughput stalls. CacheFlex uses a lightweight ISA extension to convert part of the private L2 into a thread-private scratchpad at runtime, letting software address slots directly and bypass address translation, associative tag lookup, and coherence probes. Modeled in gem5 on Armv8-A SVE, GEMM kernels reach a 1.44x geometric-mean speedup and 40% lower memory-subsystem energy at VL=16; full layers with FlashAttention reach up to 1.78x and 45%, at 2.02% area overhead relative to the L2.

You’re all caught up