Characterizing Real-World Bugs in Tile Programs for Automated Bug Detection
Ravishka Rathnasuriya, Zihe Song, Nidhi Majoju, Tingxi Li, Aaryaa Moharir, Wei Yang, Tao Xie
Key points
From the paper's conclusion- We curate 401 bug reports from GitHub and identify 301 tile-program codegen bugs for analysis, characterizing their root causes and symptoms , the input patterns that trigger them, the test oracles that detect them, and the strategies for fixing these bugs.
Abstract
Tile-based programming frameworks are increasingly adopted to write high-performance GPU kernels in domains such as deep learning and scientific computing. While these frameworks enhance productivity and hardware utilization, their multi-stage compilation pipelines introduce distinct code generation bugs that are tightly coupled to input shapes, data types, and backend targets. These bugs often manifest as silent wrong results or performance issues, making them difficult to detect using existing compiler testing tools. Additionally, the unique programming conventions of tile domain-specific languages complicate root cause identification, while fixing such bugs demands specialized knowledge of tile abstractions and compilation pipelines. Despite the growing adoption of tile-based systems, their code generation bugs remain largely unexplored. This paper presents the first systematic study of tile-program code generation bugs. We curate 401 bug reports from GitHub and identify 301 tile-program codegen bugs for analysis, characterizing their root causes and symptoms , the input patterns that trigger them, the test oracles that detect them, and the strategies for fixing these bugs. Our study provides foundational insights for building debugging, testing, and repair tools tailored to tile-based compiler infrastructures.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An Investigation on Numerical Bugs in GPU Programs Towards Automated Bug DetectionarXiv · 2026
- Racer: Hunting GPU Kernel Bugs with Symbolic Equivalence CheckingarXiv · 2026
- BugGen 2.0: Rethinking the Roles of LLMs for Scalable RTL Bug SynthesisarXiv · 2026
- Pattern-Guided Graph Synthesis for Suppressing Known Defects in DL Compiler FuzzingarXiv · 2026
- XLA from the Trenches: Correctness on TPU Workloads at ScalearXiv · 2026
- On the Feasibility of Deduplicating Compiler Bugs with BisectionProceedings of the ACM on Software Engineering · 2026