LLM inference in C/C++
C++ ggml
CUDA: fix CCCL version guard breaking on major version rollover (#29453)
hey-gm1167d3f42c2b
diff --git a/ggml/src/ggml-cuda/argsort.cu b/ggml/src/ggml-cuda/argsort.cuindex f6a850ddac..589b99ff0b 100644--- a/ggml/src/ggml-cuda/argsort.cu+++ b/ggml/src/ggml-cuda/argsort.cu@@ -2,7 +2,8 @@#ifdef GGML_CUDA_USE_CUB# include <cub/cub.cuh>-# if (CCCL_MAJOR_VERSION >= 3 && CCCL_MINOR_VERSION >= 1)+ // strided_iterator was added in CCCL 3.1+# if (CCCL_MAJOR_VERSION > 3 || (CCCL_MAJOR_VERSION == 3 && CCCL_MINOR_VERSION >= 1))# define STRIDED_ITERATOR_AVAILABLE# include <cuda/iterator># endif