Skip to content

Commit 5a8eae1

Browse files
committed
Allow for Vulkan build with Accelerate.
Closes #5304
1 parent 52bb63c commit 5a8eae1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ inline static void * ggml_calloc(size_t num, size_t size) {
270270
#include <Accelerate/Accelerate.h>
271271
#if defined(GGML_USE_CLBLAST) // allow usage of CLBlast alongside Accelerate functions
272272
#include "ggml-opencl.h"
273+
#elif defined(GGML_USE_VULKAN)
274+
#include "ggml-vulkan.h"
273275
#endif
274276
#elif defined(GGML_USE_OPENBLAS)
275277
#if defined(GGML_BLAS_USE_MKL)

0 commit comments

Comments
 (0)