| 460 | #define node_allocr(node) sched->node_talloc[hash_id(node)] |
| 461 | |
| 462 | static bool ggml_is_view_op(enum ggml_op op) { |
| 463 | return op == GGML_OP_VIEW || op == GGML_OP_RESHAPE || op == GGML_OP_PERMUTE || op == GGML_OP_TRANSPOSE; |
| 464 | } |
| 465 | |
| 466 | // returns the priority of the backend, lower is better |
| 467 | static int sched_backend_prio(ggml_backend_sched_t sched, ggml_backend_t backend) { |
no outgoing calls
no test coverage detected