Math#
2026-10-01
2 min read time
Applies to Linux and Windows
This page covers the math extended API, providing integer arithmetic utilities including ceiling division, rounding, and integer logarithm functions.
Header |
Content |
CCCL Availability |
CUDA Toolkit Availability |
|---|---|---|---|
Ceiling division |
CCCL 2.7.0 |
CUDA 12.8 |
|
Round up to the next multiple |
CCCL 2.9.0 |
CUDA 12.9 |
|
Round down to the previous multiple |
CCCL 2.9.0 |
CUDA 12.9 |
|
Integer logarithm to the base 2 |
CCCL 3.0.0 |
CUDA 13.0 |
|
Integer logarithm to the base 10 |
CCCL 3.0.0 |
CUDA 13.0 |