--- a/external/ggml/src/ggml-cuda/top-k.cu +++ b/external/ggml/src/ggml-cuda/top-k.cu @@ -4,6 +4,7 @@ #ifdef GGML_CUDA_USE_CUB # include # if (CCCL_MAJOR_VERSION >= 3 && CCCL_MINOR_VERSION >= 2) # define CUB_TOP_K_AVAILABLE +# include using namespace cub; # endif // CCCL_MAJOR_VERSION >= 3 && CCCL_MINOR_VERSION >= 2