Skip to content

Commit 3372161

Browse files
committed
fixed build issues
1 parent bc30ebd commit 3372161

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/llama.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@
1212
#include "ggml-backend.h"
1313
#include "ggml-cpp.h"
1414

15-
#if defined(GGML_USE_CLBLAST)
15+
#ifdef GGML_USE_CUDA
16+
# include "ggml-cuda.h"
17+
#elif defined(GGML_USE_CLBLAST)
1618
# include "ggml-opencl.h"
1719
#endif
1820

21+
1922
// TODO: replace with ggml API call
2023
#define QK_K 256
2124

0 commit comments

Comments
 (0)