MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_is_view_op

Function ggml_is_view_op

ggml-backend.c:462–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460#define node_allocr(node) sched->node_talloc[hash_id(node)]
461
462static 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
467static int sched_backend_prio(ggml_backend_sched_t sched, ggml_backend_t backend) {

Callers 2

sched_print_assignmentsFunction · 0.70
sched_split_graphFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected