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

Function ggml_gallocr_is_own

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

Source from the content-addressed store, hash-verified

586}
587
588static bool ggml_gallocr_is_own(ggml_gallocr_t galloc, struct ggml_tensor * t) {
589 return ggml_gallocr_hash_get(galloc, t)->allocated;
590}
591
592static bool ggml_gallocr_is_allocated(ggml_gallocr_t galloc, struct ggml_tensor * t) {
593 return t->data != NULL // tensor data already set externally

Callers 2

Calls 1

ggml_gallocr_hash_getFunction · 0.85

Tested by

no test coverage detected