Lune

SOSP2021Top-tier venue

iGUARD: In-GPU Advanced Race Detection

Aditya K. Kamath, Arkaprava Basu

Abstract

Newer use cases of GPU (Graphics Processing Unit) computing, e.g., graph analytics, look less like traditional bulksynchronous GPU programs. To cater to the needs of emerging applications with semantically richer and finer grain sharing patterns, GPU vendors have been introducing advanced programming features, e.g., scoped synchronization and independent thread scheduling. While these features can speed up many applications and enable newer use cases, they can also introduce subtle synchronization errors if used incorrectly.

We present iGUARD, a runtime software tool to detect races in GPU programs due to incorrect use of such advanced features. A key need for a race detector to be practical is to accurately detect races at reasonable overheads. We thus perform the race detection on the GPU itself without relying on the CPU. The GPU's parallelism helps speed up race detection by 15× over a closely related prior work. Importantly, iGUARD detects newer types of races that were hitherto not possible for any known tool. It detected previously unknown subtle bugs in popular GPU programs, including three in NVIDIA supported commercial libraries. In total, iGUARD detected 57 races in 21 GPU programs, without false positives.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • GraCE: Unlocking CUDA Graphs with Compiler Support for ML Workloads cites ScoRD: A Scoped Race Detector for GPUs
  • cuCatch: A Debugging Tool for Efficiently Catching Memory Safety Violations in CUDA Applications cites Simulee: detecting CUDA synchronization bugs via memory-access modeling
  • Scoped Buffered Persistency Model for GPUs cites ScoRD: A Scoped Race Detector for GPUs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. cuCatch: A Debugging Tool for Efficiently Catching Memory Safety Violations in CUDA ApplicationsMohamed Tarek Ibn Ziad, Sana Damani, Aamer Jaleel, Stephen W. Keckler et al.PLDI 2023 · 15 citations
  2. Scoped Buffered Persistency Model for GPUsShweta Pandey, Aditya K. Kamath, Arkaprava BasuASPLOS 2023 · 6 citations
  3. Neutrino: Fine-grained GPU Kernel Profiling via Programmable ProbingSonglin Huang, Chenshu WuOSDI 2025 · 5 citations
  4. PhoenixOS: Concurrent OS-level GPU Checkpoint and Restore with Validated SpeculationXingda Wei, Zhuobin Huang, Tianle Sun, Yingyi Hao et al.SOSP 2025 · 3 citations
  5. GraCE: Unlocking CUDA Graphs with Compiler Support for ML WorkloadsAbhishek Ghosh, Ajay Nayak, Ashish Panwar, Arkaprava BasuOSDI 2026

Builds on2

  1. Simulee: detecting CUDA synchronization bugs via memory-access modelingMingyuan Wu, Yicheng Ouyang, Husheng Zhou, Lingming Zhang et al.ICSE 2020 · 26 citations
  2. ScoRD: A Scoped Race Detector for GPUsAditya K. Kamath, Alvin A. George, Arkaprava BasuISCA 2020 · 12 citations

Related papers

  1. SuperCollider: Scalable and Effective Data Race Detection for CUDAMark Stephenson, Sana Damani, Mohamed Tarek Ibn Ziad, Anis Ladram et al.PLDI 2026
  2. Over-Synchronization in GPU ProgramsAjay Nayak, Arkaprava BasuMICRO 2024 · 2 citations
  3. HiRace: Accurate and Fast Data Race Checking for GPU ProgramsJohn Jacobson, Martin Burtscher, Ganesh GopalakrishnanSC 2024 · 3 citations
  4. sfGPUMC: A Stateless Model Checker for GPU Weak Memory ConcurrencySoham Chakraborty, S. Krishna, Andreas Pavlogiannis, Omkar TuppeCAV 2025 · 2 citations
  5. An Investigation on Numerical Bugs in GPU Programs Towards Automated Bug DetectionRavishka Rathnasuriya, Nidhi Majoju, Zihe Song, Wei YangISSTA 2025
Dusk over the sea between two cliffs drawn in fine vertical lines