Memory

Header

Content

CCCL Availability

CUDA Toolkit Availability

is_aligned

Check if a pointer is aligned

CCCL 3.1.0

CUDA 13.1

align_up

Align up a pointer to the specified alignment

CCCL 3.1.0

CUDA 13.1

align_down

Align down a pointer to the specified alignment

CCCL 3.1.0

CUDA 13.1

ptr_rebind

Rebind a pointer to a different type

CCCL 3.1.0

CUDA 13.1