March 2026

Conference Paper

Toward Automated Detection of Portability Bugs in Kokkos Parallel Programs

By:
Kale, Vivek; Yan, Harun; Mukherjee, Shyamali; Mayo, Jackson; Teranishi, Keita ; Rutledge, Richard; Orso, Alessandro
Page Number:
180-188
Book Title:
SC24-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis
Publication Date:
March 12, 2026
Publisher Location:
IEEE, New Jersey, United States of America
Conference Name:
Correctness 2024: Eighth International Workshop on Software Correctness for HPC Applications (Part of The International Conference for High Performance Computing, Networking, Storage, and Analysis)
Conference Location:
Atlanta, Georgia, United States of America
Conference Sponsor:
ACM and IEEE
View DOI Listing:
https://doi.org/10.1109/SCW63240.2024.00029

Abstract

Performance-portable programming frameworks provide abstractions for parallel execution to allow easily porting an application to multiple backend programming models, such as CUDA, HIP, and OpenMP. However, programs may still have portability bugs that manifest only on specific backends. Traditional testing is ineffective in discovering these bugs, as it would require concrete execution on all supported hardware configurations for a potentially infinite set of inputs. To mitigate this issue, we focused on a specific programming framework, Kokkos, and identified several categories of common portability bugs. We then developed Klokkos, a static analysis approach based on symbolic execution that can run on commodity hardware, before execution on supercomputers. As a proof-of-concept, we ran Klokkos on examples encoding the identified bugs. Our results show that Klokkos is effective, efficient, and precise: it detected all the considered bugs, quickly, and without any false positives. Although preliminary, our results motivate further research and development in this direction.


Related Researchers