CUDA: fix CUDART_VERSION checks (#11821)

This commit is contained in:
Johannes Gäßler
2025-02-12 13:16:39 +01:00
committed by GitHub
parent 369be5598a
commit c3d6af7cd2
3 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
#if !defined(GGML_USE_HIP) && !defined(GGML_USE_MUSA) && CUDART_VERSION >= 11700
#if !defined(GGML_USE_HIP) && !defined(GGML_USE_MUSA) && CUDART_VERSION >= 11070
#define USE_CUB
#endif // !defined(GGML_USE_HIP) && !defined(GGML_USE_MUSA) && CUDART_VERSION >= 11700
#endif // !defined(GGML_USE_HIP) && !defined(GGML_USE_MUSA) && CUDART_VERSION >= 11070
#ifdef USE_CUB
#include <cub/cub.cuh>