Numeric#

Header

Content

CCCL Availability

CUDA Toolkit Availability

cuda::narrow

Casts a value and checks whether the value has changed

CCCL 3.1.0

CUDA 13.1

cuda::overflow_result

Represents the result of arithmetic operations that may overflow

CCCL 3.0.0

CUDA 13.0

cuda::overflow_cast

Casts a value with overflow checking

CCCL 3.0.0

CUDA 13.0

cuda::add_overflow

Performs addition with overflow checking

CCCL 3.2.0

CUDA 13.2

cuda::sub_overflow

Performs subtraction with overflow checking

CCCL 3.2.0

CUDA 13.2

cuda::div_overflow

Performs division with overflow checking

CCCL 3.2.0

CUDA 13.2

cuda::mul_overflow

Performs multiplication with overflow checking

CCCL 3.3.0

CUDA 13.3

cuda::saturate_overflow_cast

Performs saturating cast of a value with overflow checking

CCCL 3.4.0

CUDA 13.4

cuda::add_sat_overflow

Performs saturating addition with overflow checking

CCCL 3.4.0

CUDA 13.4

cuda::sub_sat_overflow

Performs saturating subtraction with overflow checking

CCCL 3.4.0

CUDA 13.4

cuda::div_sat_overflow

Performs saturating division with overflow checking

CCCL 3.4.0

CUDA 13.4

cuda::mul_sat_overflow

Performs saturating multiplication with overflow checking

CCCL 3.4.0

CUDA 13.4