Skip to content
naulon

No noticeNo retraction, correction or concern found when last checked on Dec 2, 2026.

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

Adam Procter, William L. Harrison, Michela Becchi and 1 more

Electronic Proceedings in Theoretical Computer Science · 2012

doi:10.4204/eptcs.102.11 (opens in a new tab)

We email you when a new notice or a question about this paper appears.

Abstract

We extend an off-the-shelf, executable formal semantics of C (Ellison and Rosu'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.

Abstract licence: CC BY-NC-ND

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.