allow using the allocator with opencl

This commit is contained in:
slaren 2023-07-27 12:18:03 +02:00
parent 8afe392398
commit 8fa548377a

View file

@ -56,7 +56,7 @@
#pragma warning(disable: 4244 4267) // possible loss of data #pragma warning(disable: 4244 4267) // possible loss of data
#endif #endif
#if !defined(GGML_USE_CUBLAS) && !defined(GGML_USE_CLBLAST) && !defined(GGML_USE_METAL) #if !defined(GGML_USE_CUBLAS) && !defined(GGML_USE_METAL)
# include "ggml-alloc.h" # include "ggml-alloc.h"
# define LLAMA_USE_ALLOCATOR # define LLAMA_USE_ALLOCATOR
#else #else