From: Mathijs de Bruin Date: Sat, 3 Feb 2024 17:56:46 +0000 (+0000) Subject: Allow for Vulkan build with Accelerate. X-Git-Tag: upstream/0.0.1642~929 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=70f4f520f49d226d50eb82fc5a12dd7b5153fd7e;p=pkg%2Fggml%2Fsources%2Fggml Allow for Vulkan build with Accelerate. Closes #5304 --- diff --git a/src/ggml.c b/src/ggml.c index a79db8da..b90c7df2 100644 --- a/src/ggml.c +++ b/src/ggml.c @@ -273,6 +273,8 @@ inline static void * ggml_calloc(size_t num, size_t size) { #include #if defined(GGML_USE_CLBLAST) // allow usage of CLBlast alongside Accelerate functions #include "ggml-opencl.h" +#elif defined(GGML_USE_VULKAN) +#include "ggml-vulkan.h" #endif #elif defined(GGML_USE_OPENBLAS) #if defined(GGML_BLAS_USE_MKL)