<cuda/std/version>#
2026-10-01
2 min read time
This page documents cuda::std::version in libhipcxx, which defines version macros for tracking library and feature availability.
See the documentation of the standard header <version>
Extensions#
The following version macros, which are explained in the versioning section, are defined in this header:
_LIBCUDACXX_CUDA_API_VERSION_LIBCUDACXX_CUDA_API_VERSION_MAJOR_LIBCUDACXX_CUDA_API_VERSION_MINOR_LIBCUDACXX_CUDA_API_VERSION_PATCH_LIBCUDACXX_CUDA_ABI_VERSION_LIBCUDACXX_CUDA_ABI_VERSION_LATEST
Restrictions#
When using NVCC, the definition of C++ feature test macros is provided by the host Standard Library, not libhipcxx.