SWE-GPU-Bench: Can Language Models Solve Real-World GPU Software Engineering Tasks?
Abstract
Existing benchmarks for GPU programming with language models evaluate whether a model can generate an isolated kernel, operator, or standalone CUDA program. Most GPU software, however, is developed inside existing repositories, where a single change often spans CUDA kernels, C++ host code, Python bindings, build files, and tests. We introduce SWE-GPU-Bench, a benchmark of 417 tasks drawn from merged pull requests in 30 GPU repositories, including CUTLASS, CCCL, FlashInfer, Triton, and TensorFlow. Working in a pre-configured environment, a model receives a problem statement and the repository at the base commit to generate a patch, which we evaluate using the pull request's test commands. The tasks cover bug fixes, feature implementations, and performance optimizations, with a small subset of performance tasks (Perf-Replay) also including benchmark commands that measure the speedup of patches that pass the correctness tests. Over a quarter of the tasks edit more than four files, and over half edit files in two or more languages. We evaluate frontier open-weight and proprietary models in both the oracle and agent settings. The strongest evaluated configurations, GPT-6-Astra and GPT-6.1-Sol in Codex CLI, resolve 58.3\% and 58.0\% of tasks, respectively.