From 5ed4403558d540df07573abace249f6ab51f43af Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Sun, 15 Dec 2024 19:22:52 +0530 Subject: [PATCH] SYCL: Add back static to ggml_backend_buffer_is_sycl_split function --- ggml/src/ggml-sycl/ggml-sycl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml/src/ggml-sycl/ggml-sycl.cpp b/ggml/src/ggml-sycl/ggml-sycl.cpp index 7598c5fa5..089701550 100644 --- a/ggml/src/ggml-sycl/ggml-sycl.cpp +++ b/ggml/src/ggml-sycl/ggml-sycl.cpp @@ -925,7 +925,7 @@ static const char * ggml_backend_sycl_split_buffer_type_get_name(ggml_backend_bu GGML_UNUSED(buft); } -bool ggml_backend_buffer_is_sycl_split(ggml_backend_buffer_t buffer) { +static bool ggml_backend_buffer_is_sycl_split(ggml_backend_buffer_t buffer) { return buffer->buft->iface.get_name == ggml_backend_sycl_split_buffer_type_get_name; }