Towards Unified Analysis of GPU Consistency
University of Helsinki, Finland
29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS ’24), 2024
@article{tong2024towards,
title={Towards Unified Analysis of GPU Consistency},
author={Tong, Haining and Gavrilenko, Natalia and de Le{‘o}n, Hern{‘a}n Ponce and Heljanko, Keijo},
year={2024}
}
After more than 30 years of research, there is a solid understanding of the consistency guarantees given by CPU systems. Unfortunately, the same is not yet true for GPUs. The growing popularity of general purpose GPU programming has been a call for action which industry players like Nvidia and Khronos have answered by formalizing their Ptx and Vulkan consistency models. These models give precise answers to questions about program’s correctness. However, interpreting them still requires a level of expertise that escapes most developers, and the current tool support is insufficient. To remedy this, we translated and integrated the Ptx and Vulkan models into the Dartagnan verification tool. This makes Dartagnan the first analysis tool for multiple GPU consistency models that can analyze real GPU code. During the validation of the translated models, we discovered two bugs in the original Ptx and Vulkan consistency models.
July 7, 2024 by hgpu