Specification and verification of GPGPU programs.

Stefan Blom, Marieke Huisman, M. Mihelcic

    Research output: Contribution to journalArticleAcademicpeer-review

    37 Citations (Scopus)
    55 Downloads (Pure)


    Abstract 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.
    Original languageUndefined
    Pages (from-to)376-388
    Number of pages13
    JournalScience of computer programming
    Issue numberPart 3
    Publication statusPublished - 1 Dec 2014


    • EC Grant Agreement nr.: FP7/258405
    • EC Grant Agreement nr.: FP7/2007-2013
    • EC Grant Agreement nr.: FP7/287767
    • EWI-25485
    • IR-93984
    • Permissions
    • Formal verification
    • GPU programming
    • METIS-309764
    • Separation Logic

    Cite this