0PricingLogin
CUDA Academy · Lesson

Hunting Races with racecheck

Detecting shared-memory data races.

What a Data Race Is

A data race happens when two threads touch the same shared memory and at least one writes, without ordering between them. 😬

Why Races Are Sneaky

Races often give the right answer in testing and the wrong one in production, because the result depends on unpredictable thread timing.

All lessons in this course

  1. Stepping Kernels in cuda-gdb
  2. Finding Leaks with memcheck
  3. Hunting Races with racecheck
  4. Catching Sync Errors with synccheck
← Back to CUDA Academy