diff --git a/include/cuco/detail/__config b/include/cuco/detail/__config index c5360fba7..fd999aa52 100644 --- a/include/cuco/detail/__config +++ b/include/cuco/detail/__config @@ -17,6 +17,7 @@ #pragma once #include +#include #if !defined(__CUDACC_VER_MAJOR__) || !defined(__CUDACC_VER_MINOR__) #error "NVCC version not found" @@ -28,6 +29,10 @@ #error "Support for extended device lambdas is required (nvcc flag --expt-extended-lambda)" #endif +#if !defined(CCCL_VERSION) || (CCCL_VERSION < 2005000) +#error "CCCL version 2.5.0 or later is required" +#endif + // WAR for libcudacxx/296 #define CUCO_CUDA_MINIMUM_ARCH _NV_FIRST_ARG(__CUDA_ARCH_LIST__)