fix return type

This commit is contained in:
luoyu-intel 2024-01-18 15:23:27 +08:00 committed by Meng, Hengyu
parent 593ce001e2
commit 57e9fbadb2

View file

@ -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) {