计算机科学 > 程序设计语言
[提交于 2012年11月27日]
标题:Formal Semantics of Heterogeneous CUDA-C: A Modular Approach with Applications
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:EPTCS[v1] 2012年11月27日 星期二 02:37:06 UTC