Specification and verification of GPGPU programs
University of Twente, Enschede, The Netherlands
Technical Report TR-CTIT-13-21, Centre for Telematics and Information Technology, University of Twente, Enschede, 2013
@article{blom2013specification,
title={Specification and verification of GPGPU programs},
author={Blom, SCC and Huisman, Marieke and Mihelcic, Matej},
year={2013},
publisher={Centre for Telematics and Information Technology, University of Twente}
}
Graphics Processing Units (GPUs) are increasingly used for general-purpose applications because of their low price, energy efficiency and enormous computing power. Considering the importance of GPU applications, it is vital that the behaviour of GPU programs can be specified and proven correct formally. This paper presents a logic to verify GPU kernels written in OpenCL, a platform-independent low-level programming language. The logic can be used to prove both data-race-freedom and functional correctness of kernels. The verification is modular, based on ideas from permission-based separation logic. We present the logic and its soundness proof, and then discuss tool support and illustrate its use on a complex example kernel.
November 18, 2013 by hgpu