diff options
author | Finn Voorhees <finnvoorhees@gmail.com> | 2024-01-03 08:39:43 -0500 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2024-01-05 18:02:06 +0200 |
commit | 1bf681f90ef4cf37b36e6d604d3e30fc57eda650 (patch) | |
tree | d2b1789f7503961d8b1cb52da244e4cd078824b0 /ggml-metal.h | |
parent | c1d7cb28d3fed97fbc95fc3c43f0c5e2113e546c (diff) |
ggml : add error handling to graph_compute (whisper/1714)
Diffstat (limited to 'ggml-metal.h')
-rw-r--r-- | ggml-metal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |