From 57e9fbadb268cc294864e68d6cc59b8a15e76ca9 Mon Sep 17 00:00:00 2001 From: luoyu-intel Date: Thu, 18 Jan 2024 15:23:27 +0800 Subject: [PATCH] fix return type --- ggml-sycl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ggml-sycl.cpp b/ggml-sycl.cpp index 2e6e68650..4de78a766 100644 --- a/ggml-sycl.cpp +++ b/ggml-sycl.cpp @@ -12005,7 +12005,7 @@ static void ggml_backend_sycl_graph_plan_compute(ggml_backend_t backend, ggml_ba UNUSED(plan); } -static void ggml_backend_sycl_graph_compute(ggml_backend_t backend, ggml_cgraph * cgraph) { +static bool ggml_backend_sycl_graph_compute(ggml_backend_t backend, ggml_cgraph * cgraph) { ggml_backend_context_sycl * sycl_ctx = (ggml_backend_context_sycl *)backend->context; ggml_sycl_set_main_device(sycl_ctx->device); @@ -12062,6 +12062,7 @@ static void ggml_backend_sycl_graph_compute(ggml_backend_t backend, ggml_cgraph } UNUSED(backend); + return; } static bool ggml_backend_sycl_supports_op(ggml_backend_t backend, const ggml_tensor * op) {