Characterizing Real-World Bugs in Tile Programs for Automated Bug Detection

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Rathnasuriya, Ravishka, Song, Zihe, Majoju, Nidhi, Moharir, Aaryaa, Li, Tingxi, Yang, Wei, Xie, Tao
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911698326126592
author Rathnasuriya, Ravishka
Song, Zihe
Majoju, Nidhi
Moharir, Aaryaa
Li, Tingxi
Yang, Wei
Xie, Tao
author_facet Rathnasuriya, Ravishka
Song, Zihe
Majoju, Nidhi
Moharir, Aaryaa
Li, Tingxi
Yang, Wei
Xie, Tao
contents 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 correctness 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, categorizing the root causes, symptoms, input patterns, test oracles that trigger these bugs, and the strategies used to fix bugs. Our study provides foundational insights for building debugging, testing, and repair tools tailored to tile-based compiler infrastructures.
format Preprint
id arxiv_https___arxiv_org_abs_2605_19652
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Characterizing Real-World Bugs in Tile Programs for Automated Bug Detection
Rathnasuriya, Ravishka
Song, Zihe
Majoju, Nidhi
Moharir, Aaryaa
Li, Tingxi
Yang, Wei
Xie, Tao
Software Engineering
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 correctness 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, categorizing the root causes, symptoms, input patterns, test oracles that trigger these bugs, and the strategies used to fix bugs. Our study provides foundational insights for building debugging, testing, and repair tools tailored to tile-based compiler infrastructures.
title Characterizing Real-World Bugs in Tile Programs for Automated Bug Detection
topic Software Engineering
url https://arxiv.org/abs/2605.19652