Skip to main navigation Skip to search Skip to main content

Finding Performance Regressions in GPU Compilers

  • Wai Kin Wong
  • , Dongwei Xiao
  • , Ping Fan Ke
  • , Fengwei Zhang
  • , Shuai Wang*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

52 Downloads (Pure)

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%.
Original languageEnglish
Title of host publicationASPLOS '27
Subtitle of host publicationProceedings of the 32nd ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1
PublisherAssociation for Computing Machinery
Pages364-379
Number of pages16
Volume1
ISBN (Electronic)9798400730122
DOIs
Publication statusE-pub ahead of print - 4 Nov 2026
EventThe 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

NameASPLOS: Architectural Support for Programming Languages and Operating Systems

Conference

ConferenceThe 32nd ACM International Conference on Architectural Support for Programming Languages and Operating Systems
Abbreviated titleASPLOS'27
Country/TerritoryGreece
CityHeraklion
Period11/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