]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
CUDA: Continue directly including cuda/iterator (#23102)
authorOliver Simons <redacted>
Sun, 17 May 2026 16:00:10 +0000 (18:00 +0200)
committerGitHub <redacted>
Sun, 17 May 2026 16:00:10 +0000 (18:00 +0200)
Cont of #22936, forgot to update one site

ggml/src/ggml-cuda/top-k.cu

index 59ce36fb1c959e693200ee6864afac4b1b93b467..db1d39e2dc710e31ceb1a095dbe34c7d82e46269 100644 (file)
@@ -5,6 +5,7 @@
 #    include <cub/cub.cuh>
 #    if (CCCL_MAJOR_VERSION >= 3 && CCCL_MINOR_VERSION >= 2)
 #        define CUB_TOP_K_AVAILABLE
+#        include <cuda/iterator>
 using namespace cub;
 #    endif  // CCCL_MAJOR_VERSION >= 3 && CCCL_MINOR_VERSION >= 2
 #endif      // GGML_CUDA_USE_CUB