How can we create comprehensive benchmarks that evaluate LLM-generated GPU code for correctness, performance, and real-world applicability?
Category: LLM Reliability Evaluation › Capability Evaluation Benchmarks · 9 papers · Partly verified
9 papers; abstracts only, so this reports what papers claim.
Bottom line
The papers report that recent GPU-code benchmarks increasingly pair correctness verification with performance metrics, moving beyond correctness-only evaluation of LLM-generated code. The central tension is how performance should be measured: scored against analytically derived hardware Speed-of-Light bounds versus speedup over practical software baselines such as CPU code. A further scope tension concerns real-world applicability, whether repository-level tasks from trusted code or complete iterative agent workflows best capture it, with existing benchmarks criticized as too narrow for isolated kernels or single calls. Missing are validation that benchmark scores predict deployment outcomes, energy and multi-GPU coverage, and expert-written references beyond a small subset.
Convergence
1. Recent benchmarks pair correctness verification with performance metrics, moving beyond correctness-only evaluation of LLM-generated GPU code.
5 papers
- p148268 CUDABench: Benchmarking LLMs for Text-to-CUDA Generation [method; not stated]: assesses compilation correctness, functional consistency, and a roofline-based Performance-Score
- p139678 AccelEval: A Whole-Program Benchmark for LLM-Generated CPU-t [method; not stated]: reports end-to-end speedup over CPU baselines plus a novel peak-attainment metric beyond pass/fail correctness
- p139477 HPC-Bench: A Comprehensive Benchmark for High Performance Co [method; not stated]: combines program-level correctness verification with correctness-gated Fast@k and Speedup@k metrics
- p139376 AgentKernelArena: Benchmarking Performance and Generalizatio [method; not stated]: evaluates complete agent workflows with gated compilation, correctness, and performance checks
- p139395 SOL-ExecBench: Speed-of-Light Benchmarking for Real-World GP [method; not stated]: provides a sandboxed harness with correctness checks and a SOL Score against hardware bounds
Contested
What should performance in GPU-code benchmarks be measured against? (conflict)
- A: Performance should be scored as proximity to analytically derived hardware limits rather than beating mutable software baselines. (p139395)
- B: Speedup over practical software baselines such as CPU code is the meaningful performance measure. (p139678)
- Why: p139395 targets kernel-level tasks where analytic speed-of-light bounds are computable, while p139678 evaluates whole-program CPU-to-GPU acceleration where speedup over the original CPU code reflects user-visible gains.
Which task granularity captures real-world applicability? (scope difference)
- A: Real-world applicability means whole-program and repository-level tasks derived from trusted existing code. (p139678, p139328)
- B: Real-world applicability means evaluating complete iterative agent workflows rather than single model calls. (p139376)
- Why: p139678 and p139328 study single-model generation on program- and repository-level tasks, whereas p139376 argues the deployed artifact is a tool-using agent that iteratively compiles, profiles, and refines.
Isolated claims (1 to 2 papers)
- A minimal supervision scheme of one unit test per optimization strategy per architecture can ground hardware-aware kernel generation across GPU generations.
- p155018 Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal [method; not stated]: 10 expert-written unit tests per architecture generalize across workloads, approaching expert PyTorch/Triton in BF16 and FP8
- CUDA debugging from real failing workspaces is a distinct evaluation setting where test-passing fixes can degenerate into slower programs.
- p139244 CUDABeaver: Benchmarking LLM-Based Automated CUDA Debugging [method; not stated]: a model can pass correctness tests with repair by degeneration into a safer but slower program; stricter performance tolerance shifts scores up to 40 points
- Existing GPU-code benchmarks are judged too narrow, focusing on isolated kernels or single model calls rather than realistic engineering settings.
- p139678 AccelEval: A Whole-Program Benchmark for LLM-Generated CPU-t [method; not stated] [partial]: current benchmarks measure CUDA fluency on isolated operators or short kernel-generation tasks
- p139376 AgentKernelArena: Benchmarking Performance and Generalizatio [method; not stated] [partial]: existing kernel benchmarks evaluate single LLM calls rather than full agent workflows
- Stricter performance requirements sharply reduce measured success rates, even for solutions that pass correctness checks.
- p139477 HPC-Bench: A Comprehensive Benchmark for High Performance Co [method; not stated]: stricter speedup requirements substantially reduce the probability of finding a correct and fast optimization
- p139244 CUDABeaver: Benchmarking LLM-Based Automated CUDA Debugging [method; not stated] [partial]: even a minor stricter performance requirement can sharply reduce measured success, shifting scores by up to 40 percentage points
- High compilation success rates can mask low functional correctness and suboptimal GPU hardware utilization.
- p148268 CUDABench: Benchmarking LLMs for Text-to-CUDA Generation [method; not stated] [partial]: benchmarking reveals a notable mismatch between high compilation success rates and low functional correctness, plus suboptimal hardware utilization
Gaps
- No paper evaluates energy consumption, multi-GPU scaling, or distributed workloads.
- Comparison against human expert code appears only on a small 11-task subset of one benchmark; most benchmarks lack expert-written references.
- No paper validates that benchmark scores predict downstream deployment outcomes such as production reliability or cost.
Off topic or tangential
- p148751 DRTriton: Large-Scale Synthetic Data Driven Reinforcement Le [synthetic/method; not stated]: mainly a reinforcement-learning training framework for Triton generation; its evaluation reuses the existing KernelBench rather than contributing benchmark methodology
Verification report
- revision: 9 findings sent back to the generator; the revised answer was checked again
- bottom line: 4 sentences written, 0 dropped and 0 narrowed where both judges agreed, 1 kept although the judges split, 0 not checked
- 17 paper-to-statement attributions checked by two judges; agreement: 15 both agree, 2 supports vs partial
- changes: 4 partial
- judge A (command-a-plus-05-2026): planted wrong statements caught 13 of 13; positive controls passed 13 of 13; claim-level overstatements caught 1 of 1; bottom-line overstatements caught 1 of 1
- judge B (deepseek/deepseek-v4-pro-0813): planted wrong statements caught 13 of 13; positive controls passed 13 of 13; claim-level overstatements caught 1 of 1; bottom-line overstatements caught 1 of 1
The 9 papers that ask this question
- CUDABench: Benchmarking LLMs for Text-to-CUDA Generation
- AccelEval: A Whole-Program Benchmark for LLM-Generated CPU-to-GPU Code Acceleration
- HPC-Bench: A Comprehensive Benchmark for High Performance Computing Codes
- AgentKernelArena: Benchmarking Performance and Generalization of AI Coding Agents on GPU Kernels Optimization
- SWE-GPU-Bench: Can Language Models Solve Real-World GPU Software Engineering Tasks?
- Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision
- SOL-ExecBench: Speed-of-Light Benchmarking for Real-World GPU Kernels Against Hardware Limits
- DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generation
- CUDABeaver: Benchmarking LLM-Based Automated CUDA Debugging
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction