From 1e7694eee7ff39b9fef7cd19fad9ad4892725357 Mon Sep 17 00:00:00 2001 From: slaren Date: Fri, 12 Jan 2024 04:16:15 +0100 Subject: [PATCH] fix opencl --- ggml-opencl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ggml-opencl.cpp b/ggml-opencl.cpp index 732e24c91..2bb93638f 100644 --- a/ggml-opencl.cpp +++ b/ggml-opencl.cpp @@ -2004,8 +2004,7 @@ static ggml_backend_buffer_i ggml_backend_opencl_buffer_interface = { /* .init_tensor = */ ggml_backend_opencl_buffer_init_tensor, /* .set_tensor = */ ggml_backend_opencl_buffer_set_tensor, /* .get_tensor = */ ggml_backend_opencl_buffer_get_tensor, - /* .cpy_tensor_from = */ NULL, - /* .cpy_tensor_to = */ NULL, + /* .cpy_tensor = */ NULL, /* .clear = */ ggml_backend_opencl_buffer_clear, /* .reset = */ ggml_backend_opencl_buffer_reset, };