From 2193ab6281c6c21c76608500ae573c1be7c0d0bb Mon Sep 17 00:00:00 2001 From: mqy Date: Sun, 18 Jun 2023 14:07:33 +0800 Subject: [PATCH] fix cuda build error --- ggml-cuda.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index 5a4c7725a..48c7c83df 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -2544,7 +2544,7 @@ bool ggml_cuda_is_gpu_offloading(struct ggml_tensor * tensor) { bool ggml_cuda_compute_forward(struct ggml_compute_params * params, struct ggml_tensor * tensor){ ggml_cuda_func_t func; - const bool any_on_device = is_gpu_offloading(tensor); + const bool any_on_device = ggml_cuda_is_gpu_offloading(tensor); switch (tensor->op) { case GGML_OP_ADD: