MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / create_backend_graph_plan_if_host

Function create_backend_graph_plan_if_host

src/framework/core/backend.cpp:363–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 snapshot.available = true;
362 snapshot.total_bytes = static_cast<int64_t>(total_bytes);
363 snapshot.free_bytes = static_cast<int64_t>(free_bytes);
364 snapshot.used_bytes = static_cast<int64_t>(total_bytes - free_bytes);
365 }
366 }
367 return snapshot;
368}
369
370ggml_backend_graph_plan_t create_backend_graph_plan_if_host(ggml_backend_t backend, ggml_cgraph * graph) {
371 if (backend == nullptr || graph == nullptr || !is_host_backend(backend)) {

Callers 13

GraphMethod · 0.85
GraphMethod · 0.85
FlashSrGraphMethod · 0.85
RnnoiseFrameGraphMethod · 0.85
RnnoiseSequenceGraphMethod · 0.85
GraphMethod · 0.85
FlowLMStepRuntimeMethod · 0.85

Calls 2

is_host_backendFunction · 0.85

Tested by

no test coverage detected