diff options
author | Michael Podvitskiy <podvitskiymichael@gmail.com> | 2024-02-09 10:42:27 +0100 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2024-02-10 09:29:21 +0200 |
commit | 4633d93af08d890ecd00fa6e4f61d76f21cded4c (patch) | |
tree | 3c1bc3f11afdca41b89959cd20b52dc29a157bcc /ggml.c | |
parent | 4b7b38bef5addbd31f453871d79647fbae6bec8a (diff) |
ggml : add abort_callback for cpu backend (ggml/725)
* a way to use abort_callback with the cpu backend
* whisper update
Diffstat (limited to 'ggml.c')
-rw-r--r-- | ggml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16649,7 +16649,7 @@ struct ggml_compute_state_shared { atomic_int node_n; // active graph node atomic_int node_task; // active graph node task phase - bool (*abort_callback)(void * data); // abort ggml_graph_compute when true + ggml_abort_callback abort_callback; // abort ggml_graph_compute when true void * abort_callback_data; }; |