Skip to content

Commit

Permalink
Allow for Vulkan build with Accelerate.
Browse files Browse the repository at this point in the history
  • Loading branch information
dokterbob authored and jordankanter committed Mar 13, 2024
1 parent 4770933 commit 4ac39e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ inline static void * ggml_calloc(size_t num, size_t size) {
#include <Accelerate/Accelerate.h>
#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)
Expand Down

0 comments on commit 4ac39e9

Please sign in to comment.