Numerics Library

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

Header

Content

CCCL Availability

CUDA Toolkit Availability

C++ Reference

<cuda/std/ratio>

Compile-time rational arthimetic

CCCL 2.0.0

CUDA 11.0

<ratio>

<cuda/std/bit>

Access, manipulate, and process individual bits and bit sequences.

CCCL 2.0.0

CUDA 11.7

<bit>

<cuda/std/complex>

Complex number type

CCCL 2.0.0

CUDA 11.4

<complex>

<cuda/std/linalg>

Linear algebra layouts and accessors

CCCL 3.0.0

CUDA 13.0

<linalg>

<cuda/std/numbers>

Numeric constants

CCCL 3.0.0

CUDA 13.0

<numbers>

<cuda/std/numeric>

Numeric algorithms

CCCL 2.5.0

CUDA 12.6

<numeric>