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

Function ggml_dyn_tallocr_max_size

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

Source from the content-addressed store, hash-verified

388}
389
390static size_t ggml_dyn_tallocr_max_size(struct ggml_dyn_tallocr * alloc, int chunk) {
391 return chunk < alloc->n_chunks ? alloc->chunks[chunk]->max_size : 0;
392}
393
394
395// virtual buffer with contiguous memory range, split into multiple backend buffers (chunks)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected