ParallelKernelBench: Can LLMs Write Fast Multi-GPU Kernels?
Willy ChanNathan PaekSimon GuoSimran AroraDaniel Y Fu
Willy Chan
Nathan Paek
Simon Guo
Simran Arora
Daniel Y Fu
+5
This paper introduces ParallelKernelBench (PKB), a benchmark and evaluation framework for LLM-generated multi-GPU kernels, addressing a task left unexplored by prior single-GPU work despite communication being a dominant bottleneck at scale. PKB rests on a taxonomy of distributed workloads spanning the main parallelism types, with 87 problems chosen to cover compositions arising in real workloads, and it is paired with a communication-aware roofline analysis suited to multi-GPU bottlenecks. Evaluating frontier coding models, the authors find single-shot correctness in 32% of cases and speedup over an unoverlapped PyTorch + NCCL baseline in only 25%; over 90% of baselines reach under 50% of peak utilization. Several LLM-generated kernels outperform reference implementations in specific regimes, including NeMo's vocab-parallel log-probability kernel (up to 2.06x).

OpenReview · May 5, 2026