fix return type
This commit is contained in:
parent
593ce001e2
commit
57e9fbadb2
1 changed files with 2 additions and 1 deletions
|
@ -12005,7 +12005,7 @@ static void ggml_backend_sycl_graph_plan_compute(ggml_backend_t backend, ggml_ba
|
||||||
UNUSED(plan);
|
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_backend_context_sycl * sycl_ctx = (ggml_backend_context_sycl *)backend->context;
|
||||||
|
|
||||||
ggml_sycl_set_main_device(sycl_ctx->device);
|
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);
|
UNUSED(backend);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool ggml_backend_sycl_supports_op(ggml_backend_t backend, const ggml_tensor * op) {
|
static bool ggml_backend_sycl_supports_op(ggml_backend_t backend, const ggml_tensor * op) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue