From: Oliver Simons Date: Sun, 17 May 2026 16:00:10 +0000 (+0200) Subject: CUDA: Continue directly including cuda/iterator (#23102) X-Git-Tag: upstream/0.0.10438~1237 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=84c678242a501edff0ea16551a88cfd76c11881c;p=pkg%2Fggml%2Fsources%2Fllama.cpp CUDA: Continue directly including cuda/iterator (#23102) Cont of #22936, forgot to update one site --- diff --git a/ggml/src/ggml-cuda/top-k.cu b/ggml/src/ggml-cuda/top-k.cu index 59ce36fb1..db1d39e2d 100644 --- a/ggml/src/ggml-cuda/top-k.cu +++ b/ggml/src/ggml-cuda/top-k.cu @@ -5,6 +5,7 @@ # 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 #endif // GGML_CUDA_USE_CUB