From 3b5df18dbb816196981bba4bbab0781f99dbfb6f Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 30 Apr 2023 23:48:46 +0800 Subject: [PATCH] temp fix for compilation issues on OSX (M1) --- ggml.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index d08cf2090..52389b111 100644 --- a/ggml.c +++ b/ggml.c @@ -149,7 +149,8 @@ inline static void* ggml_aligned_malloc(size_t size) { #include #elif defined(GGML_USE_CUBLAS) #include "ggml-cuda.h" -#elif defined(GGML_USE_CLBLAST) +#endif +#if defined(GGML_USE_CLBLAST) #include "ggml-opencl.h" #endif