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

Function get_node_buffer_id

external/ggml/src/ggml-alloc.c:713–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

711}
712
713static int get_node_buffer_id(const int * node_buffer_ids, int i) {
714 return node_buffer_ids ? node_buffer_ids[i] : 0;
715}
716
717static void ggml_gallocr_alloc_graph_impl(ggml_gallocr_t galloc, struct ggml_cgraph * graph, const int * node_buffer_ids, const int * leaf_buffer_ids) {
718 // clear hash tables

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected