summaryrefslogtreecommitdiff
path: root/ggml-backend-impl.h
diff options
context:
space:
mode:
authorFinn Voorhees <finnvoorhees@gmail.com>2024-01-03 08:39:43 -0500
committerGeorgi Gerganov <ggerganov@gmail.com>2024-01-05 18:02:06 +0200
commit1bf681f90ef4cf37b36e6d604d3e30fc57eda650 (patch)
treed2b1789f7503961d8b1cb52da244e4cd078824b0 /ggml-backend-impl.h
parentc1d7cb28d3fed97fbc95fc3c43f0c5e2113e546c (diff)
ggml : add error handling to graph_compute (whisper/1714)
Diffstat (limited to 'ggml-backend-impl.h')
-rw-r--r--ggml-backend-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml-backend-impl.h b/ggml-backend-impl.h
index 05859935..ca21b474 100644
--- a/ggml-backend-impl.h
+++ b/ggml-backend-impl.h
@@ -90,7 +90,7 @@ extern "C" {
void (*graph_plan_compute)(ggml_backend_t backend, ggml_backend_graph_plan_t plan);
// compute graph without a plan
- void (*graph_compute)(ggml_backend_t backend, struct ggml_cgraph * cgraph);
+ bool (*graph_compute)(ggml_backend_t backend, struct ggml_cgraph * cgraph);
// check if the backend supports an operation
bool (*supports_op)(ggml_backend_t backend, const struct ggml_tensor * op);