From 1bf681f90ef4cf37b36e6d604d3e30fc57eda650 Mon Sep 17 00:00:00 2001 From: Finn Voorhees Date: Wed, 3 Jan 2024 08:39:43 -0500 Subject: ggml : add error handling to graph_compute (whisper/1714) --- ggml-metal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ggml-metal.h') diff --git a/ggml-metal.h b/ggml-metal.h index b5e02b66..c4b7325d 100644 --- a/ggml-metal.h +++ b/ggml-metal.h @@ -87,7 +87,7 @@ int * ggml_metal_get_concur_list(struct ggml_metal_context * ctx); // same as ggml_graph_compute but uses Metal // creates gf->n_threads command buffers in parallel -void ggml_metal_graph_compute(struct ggml_metal_context * ctx, struct ggml_cgraph * gf); +bool ggml_metal_graph_compute(struct ggml_metal_context * ctx, struct ggml_cgraph * gf); // // backend API -- cgit v1.2.3