GEMM & Attention Kernels
Matrix-multiply and attention kernels tuned to run near the hardware's peak, measured in TFLOP/s.
Open problems, highest leverage first
All open problems →- 01A Triton attention forward kernel within 5% of FlashAttention-3 on H100To verify: GPU benchmarkFlashAttention: IO-aware exact attention1 link204935To verify: GPU benchmarkOpenD 20V 49L 35
- 02An open FP8 GEMM kernel matching cuBLAS across LLM shapes on H100To verify: GPU benchmarkTiled GEMM on tensor cores (CUTLASS and CuTe)2 links245029To verify: GPU benchmarkOpenD 24V 50L 29
- 03A paged decode-attention kernel at 90% of achievable HBM bandwidth on H100To verify: GPU benchmarkPaged attention and KV-cache kernels266228To verify: GPU benchmarkOpenD 26V 62L 28
- 04FP8 attention that keeps FlashAttention-3 throughput at BF16-level accuracyTo verify: GPU benchmarkFlashAttention: IO-aware exact attention1 link404827To verify: GPU benchmarkOpenD 40V 48L 27
- 05An open attention backward kernel within 10% of FlashAttention-3 for head dimension 256To verify: GPU benchmarkFlashAttention: IO-aware exact attention1 link333825To verify: GPU benchmarkOpenD 33V 38L 25
Research entries
All entries →Paged attention and KV-cache kernels
Storing the transformer key-value cache in fixed-size non-contiguous blocks, with attention kernels that gather through a block table; the memory manager behind high-throughput LLM serving.
FlashAttention: IO-aware exact attention
A tiled, fused attention kernel that never writes the full score matrix to GPU memory, using an online softmax; versions 1 to 3 track successive GPU generations.
Tiled GEMM on tensor cores (CUTLASS and CuTe)
How dense matrix multiplication reaches near-peak throughput on NVIDIA GPUs: hierarchical tiling, tensor-core MMA instructions, asynchronous copies, and the CUTLASS and CuTe abstractions.
The GPU memory hierarchy and the roofline model
How registers, shared memory, L2 and HBM bound what a GPU kernel can reach, and the roofline model that turns arithmetic intensity into a performance ceiling.