Lune

CAV2021顶会

Checking Data-Race Freedom of GPU Kernels, Compositionally

Tiago Cogumbreiro, Julien Lange, Dennis Liew Zhen Rong, Hannah Zicarelli

摘要

Abstract GPUs offer parallelism as a commodity, but they are difficult to program correctly. Static analyzers that guarantee data-race freedom (DRF) are essential to help programmers establish the correctness of their programs (kernels). However, existing approaches produce too many false alarms and struggle to handle larger programs. To address these limitations we formalize a novel compositional analysis for DRF, based on access memory protocols. These protocols are behavioral types that codify the way threads interact over shared memory. Our work includes fully mechanized proofs of our theoretical results, the first mechanized proofs in the field of DRF analysis for GPU kernels. Our theory is implemented in , a tool that outperforms the state-of-the-art. Notably, it can correctly verify at least 1.42×1.42{\times } 1.42 × more real-world kernels, and it exhibits a linear growth in 4 out of 5 experiments, while others grow exponentially in all 5 experiments.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Modular Static Cost Analysis for GPU Warp-Level Parallelism 引用了 Sound and Partially-Complete Static Analysis of Data-Races in GPU Programs
  • A Modular Static Cost Analysis for GPU Warp-Level Parallelism 引用了 Modeling and analyzing evaluation cost of CUDA kernels
  • Equivalence Checking of ML GPU Kernels 引用了 Simulee: detecting CUDA synchronization bugs via memory-access modeling
  • Equivalence Checking of ML GPU Kernels 引用了 ScoRD: A Scoped Race Detector for GPUs
  • Equivalence Checking of ML GPU Kernels 引用了 Sound and Partially-Complete Static Analysis of Data-Races in GPU Programs
  • Sound and Partially-Complete Static Analysis of Data-Races in GPU Programs 引用了 Simulee: detecting CUDA synchronization bugs via memory-access modeling
  • Sound and Partially-Complete Static Analysis of Data-Races in GPU Programs 引用了 ScoRD: A Scoped Race Detector for GPUs
  • Sound and Partially-Complete Static Analysis of Data-Races in GPU Programs 引用了 Modeling and analyzing evaluation cost of CUDA kernels
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Modeling and analyzing evaluation cost of CUDA kernelsStefan K. Muller, Jan HoffmannPOPL 2021 · 15 次引用
  2. Sound and Partially-Complete Static Analysis of Data-Races in GPU ProgramsDennis Liew, Tiago Cogumbreiro, Julien LangeOOPSLA 2024 · 10 次引用
  3. Descend: A Safe GPU Systems Programming LanguageBastian Köpcke, Sergei Gorlatch, Michel SteuwerPLDI 2024 · 7 次引用
  4. A Modular Static Cost Analysis for GPU Warp-Level ParallelismGregory Blike, Hannah Zicarelli, Udaya Sathiyamoorthy, Julien Lange 等POPL 2026 · 1 次引用
  5. Equivalence Checking of ML GPU KernelsBenjamin Driscoll, Kshitij Dubey, Anjiang Wei, Neeraj Kayal 等OOPSLA 2026 · 1 次引用

它引用的 Paper3

  1. Simulee: detecting CUDA synchronization bugs via memory-access modelingMingyuan Wu, Yicheng Ouyang, Husheng Zhou, Lingming Zhang 等ICSE 2020 · 26 次引用
  2. Modeling and analyzing evaluation cost of CUDA kernelsStefan K. Muller, Jan HoffmannPOPL 2021 · 15 次引用
  3. ScoRD: A Scoped Race Detector for GPUsAditya K. Kamath, Alvin A. George, Arkaprava BasuISCA 2020 · 12 次引用

相关 Paper

  1. HiRace: Accurate and Fast Data Race Checking for GPU ProgramsJohn Jacobson, Martin Burtscher, Ganesh GopalakrishnanSC 2024 · 3 次引用
  2. sfGPUMC: A Stateless Model Checker for GPU Weak Memory ConcurrencySoham Chakraborty, S. Krishna, Andreas Pavlogiannis, Omkar TuppeCAV 2025 · 2 次引用
  3. SuperCollider: Scalable and Effective Data Race Detection for CUDAMark Stephenson, Sana Damani, Mohamed Tarek Ibn Ziad, Anis Ladram 等PLDI 2026
  4. iGUARD: In-GPU Advanced Race DetectionAditya K. Kamath, Arkaprava BasuSOSP 2021 · 11 次引用
  5. RCGP: Resource Contracts for Graphics ProgrammingVenkataram Sivaram, Sai Praveen Bangaru, Ravi Ramamoorthi, Tzu-Mao Li 等SIGGRAPH 2026
黄昏的海面,两侧是细线勾勒的悬崖