GPU Kernels & Systems
The kernels, compilers and communication layers that turn accelerator hardware into training and inference speed.
On this page3 sections
Sub-fields
- GEMM & Attention KernelsMatrix-multiply and attention kernels tuned to run near the hardware's peak, measured in TFLOP/s.4 entries · 5 open problems
- Kernel Languages & CompilersTriton, CUTLASS, TVM and the languages and compilers that generate fast kernels without hand-written assembly.2 entries · 3 open problems
- Low-Precision NumericsFP8, FP4 and integer formats, and the scaling and rounding that keep low-precision training and inference accurate.2 entries · 3 open problems
- Distributed Training & CommunicationCollectives, parallelism strategies and interconnects that spread one model across thousands of accelerators.2 entries · 2 open problems
Open problems, highest leverage first
All open problems →- 01LLM-written kernels that beat PyTorch on half of KernelBench Level 3 under hardened checksTo verify: GPU benchmarkKernel autotuning and automated kernel generation1 link385540To verify: GPU benchmarkOpenD 38V 55L 40
- 02An open 4-bit pretraining recipe matching BF16 loss at 1B parametersTo verify: ReproductionMicroscaling (MX) and block-scaled 4-bit formats1 link306038To verify: ReproductionOpenD 30V 60L 38
- 03A 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
- 04A bitwise-reproducible all-reduce independent of topology with under 5% overheadTo verify: GPU benchmarkNCCL and collective communication: ring and tree all-reduce393731To verify: GPU benchmarkOpenD 39V 37L 31
- 05A Triton BF16 GEMM within 3% of cuBLAS across an LLM shape sweep on H100To verify: GPU benchmarkTriton: a tile-level language and compiler for GPU kernels2 links274530To verify: GPU benchmarkOpenD 27V 45L 30
- 06An 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
- 07A 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
- 08FP8 attention that keeps FlashAttention-3 throughput at BF16-level accuracyTo verify: GPU benchmarkFlashAttention: IO-aware exact attention1 link404827To verify: GPU benchmarkOpenD 40V 48L 27
Research entries
All entries →Microscaling (MX) and block-scaled 4-bit formats
Data formats that share one scale across a small block of narrow elements (MXFP8, MXFP6, MXFP4, MXINT8, and NVIDIA's NVFP4), implemented in Blackwell tensor cores.
FP8 formats and scaling recipes for training and inference
The two 8-bit floating-point encodings (E4M3 and E5M2), why tensors need scale factors, and the recipes (per-tensor, delayed, fine-grained blockwise) that make FP8 GEMMs usable for LLMs.
Kernel autotuning and automated kernel generation
Searching tile sizes, pipeline depths and schedules by measurement or learned cost models, and now asking language models to write kernels, scored against hand-written baselines.
Triton: a tile-level language and compiler for GPU kernels
A Python-embedded language in which a kernel is written for a block of data, with the compiler choosing memory layout, coalescing, shared-memory use and synchronisation; the default kernel backend of PyTorch's compiler.
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.
Tensor, data and pipeline parallelism with compute-communication overlap
How large models are split across GPUs (tensor, pipeline, data/ZeRO, sequence and context parallelism) and how fused kernels hide communication behind matrix multiplication.
NCCL and collective communication: ring and tree all-reduce
The collective operations (all-reduce, all-gather, reduce-scatter) that synchronise GPUs in training, the ring and tree algorithms behind them, and NVIDIA's NCCL library that implements them.