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

Function compute_graph

src/framework/core/backend.cpp:409–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409ggml_status compute_graph(
410 const ExecutionContext & execution_context,
411 ggml_cgraph * graph,
412 HostGraphPlan & plan,
413 const char * label) {
414 return plan.active()
415 ? ggml_graph_compute(graph, &plan.plan)
416 : compute_backend_graph(execution_context.backend(), graph, nullptr, label);
417}
418
419void write_tensor_f32(const TensorValue & tensor, const float * values, size_t count) {
420 if (tensor.type != GGML_TYPE_F32) {

Callers 10

run_in_placeMethod · 0.50
computeMethod · 0.50
computeMethod · 0.50
computeMethod · 0.50
computeMethod · 0.50
computeMethod · 0.50
runMethod · 0.50
stepMethod · 0.50
runMethod · 0.50

Calls 4

ggml_graph_computeFunction · 0.85
compute_backend_graphFunction · 0.85
activeMethod · 0.80
backendMethod · 0.45

Tested by

no test coverage detected