ggml : add error handling to graph_compute (whisper/1714)
This commit is contained in:
parent
c1d7cb28d3
commit
1bf681f90e
6 changed files with 18 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue