Abstract
Graphics Processing Units (GPUs) accelerate many modern computationally intensive workloads, and achieving high performance on them depends heavily on sophisticated GPU compiler optimizations. However, even small changes in GPU compiler optimization heuristics or code-generation decisions can silently introduce severe performance regressions without causing crashes or wrong outputs.
These regressions are notoriously difficult to detect with existing approaches. Functional test suites and existing GPU compiler fuzzers primarily target correctness bugs, while benchmark suites lack the scale and diversity needed to systematically expose optimization failures.
To address this, we present GPUDiff, an automated testing framework for finding performance bugs in GPU compilers. GPUDiff is grounded in the observation that GPU compiler optimizations are fundamentally shaped by the underlying GPU architecture. Guided by this principle, GPUDiff generates performance-centric program variants using architecture-informed mutations that stress three key dimensions of GPU execution: computation, memory hierarchy, and thread divergence. To address the testing oracle problem, GPUDiff uses differential testing, comparing each mutated program's performance across different compiler versions. Over three months, GPUDiff uncovered 20 issues in NVIDIA and AMD compilers. The median regression increases kernel execution time by 37%.
These regressions are notoriously difficult to detect with existing approaches. Functional test suites and existing GPU compiler fuzzers primarily target correctness bugs, while benchmark suites lack the scale and diversity needed to systematically expose optimization failures.
To address this, we present GPUDiff, an automated testing framework for finding performance bugs in GPU compilers. GPUDiff is grounded in the observation that GPU compiler optimizations are fundamentally shaped by the underlying GPU architecture. Guided by this principle, GPUDiff generates performance-centric program variants using architecture-informed mutations that stress three key dimensions of GPU execution: computation, memory hierarchy, and thread divergence. To address the testing oracle problem, GPUDiff uses differential testing, comparing each mutated program's performance across different compiler versions. Over three months, GPUDiff uncovered 20 issues in NVIDIA and AMD compilers. The median regression increases kernel execution time by 37%.
| Original language | English |
|---|---|
| Title of host publication | ASPLOS '27 |
| Subtitle of host publication | Proceedings of the 32nd ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1 |
| Publisher | Association for Computing Machinery |
| Pages | 364-379 |
| Number of pages | 16 |
| Volume | 1 |
| ISBN (Electronic) | 9798400730122 |
| DOIs | |
| Publication status | E-pub ahead of print - 4 Nov 2026 |
| Event | The 32nd ACM International Conference on Architectural Support for Programming Languages and Operating Systems - Heraklion, Greece Duration: 11 Apr 2027 → 15 Apr 2027 https://www.asplos-conference.org/asplos2027/ |
Publication series
| Name | ASPLOS: Architectural Support for Programming Languages and Operating Systems |
|---|
Conference
| Conference | The 32nd ACM International Conference on Architectural Support for Programming Languages and Operating Systems |
|---|---|
| Abbreviated title | ASPLOS'27 |
| Country/Territory | Greece |
| City | Heraklion |
| Period | 11/04/27 → 15/04/27 |
| Internet address |
Keywords
- GPU compilers
- performance testing
- differential oracles
- compiler optimization quality
Fingerprint
Dive into the research topics of 'Finding Performance Regressions in GPU Compilers'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver