Macros#

CCCL provides a set of convenience macros for detecting various system and compile-time properties via the preprocessor. These macros are available when any CCCL header is included, and do not require including a specific header file.

Macro

Content

CCCL Availability

CUDA Toolkit Availability

Detecting the current operating system.

CCCL 3.4.0

CUDA 13.3