Skip to main navigation Skip to search Skip to main content

Formal Semantics of Heterogeneous CUDA-C: A Modular Approach with Applications

  • Chris Hathhorn
  • , Michela Becchi
  • , William L. Harrison
  • , Adam Procter

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We extend an off-the-shelf, executable formal semantics of C (Ellison and Rosiu's K Framework semantics) with the core features of CUDA-C. The hybrid CPU/GPU computation model of CUDA-C presents challenges not just for programmers, but also for practitioners of formal methods. Our formal semantics helps expose and clarify these issues. We demonstrate the usefulness of our semantics by generating a tool from it capable of detecting some race conditions and deadlocks in CUDA-C programs. We discuss limitations of our model and argue that its extensibility can easily enable a wider range of verification tasks.
Original languageEnglish
Title of host publicationProceedings of the 2012 Systems Software Verification Conference
DOIs
StatePublished - 2012
Externally publishedYes

Fingerprint

Dive into the research topics of 'Formal Semantics of Heterogeneous CUDA-C: A Modular Approach with Applications'. Together they form a unique fingerprint.

Cite this