From 8fa548377a1ee5de19f47494447dd81724d6f9d3 Mon Sep 17 00:00:00 2001 From: slaren Date: Thu, 27 Jul 2023 12:18:03 +0200 Subject: [PATCH] allow using the allocator with opencl --- llama.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.cpp b/llama.cpp index f34f6d0e9..6815c2196 100644 --- a/llama.cpp +++ b/llama.cpp @@ -56,7 +56,7 @@ #pragma warning(disable: 4244 4267) // possible loss of data #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" # define LLAMA_USE_ALLOCATOR #else