Synchronization Library

Any Standard C++ header not listed below is omitted.

Header

Content

Availability

<cuda/std/atomic>

Atomic objects and operations. See also Extended API

libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2

<cuda/std/latch>

Single-phase asynchronous thread-coordination mechanism. See also Extended API

libcu++ 1.1.0 / CCCL 2.0.0 / CUDA 11.0

<cuda/std/barrier>

Multi-phase asynchronous thread-coordination mechanism. See also Extended API

libcu++ 1.1.0 / CCCL 2.0.0 / CUDA 11.0

<cuda/std/semaphore>

Primitives for constraining concurrent access. See also Extended API

libcu++ 1.1.0 / CCCL 2.0.0 / CUDA 11.0