MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_nbytes_pad

Function ggml_nbytes_pad

ggml.c:1975–1977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1973}
1974
1975size_t ggml_nbytes_pad(const struct ggml_tensor * tensor) {
1976 return GGML_PAD(ggml_nbytes(tensor), GGML_MEM_ALIGN);
1977}
1978
1979size_t ggml_nbytes_split(const struct ggml_tensor * tensor, int nrows_split) {
1980 static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");

Callers 4

ggml_graph_exportFunction · 0.70
calc_sizesMethod · 0.70
load_loraFunction · 0.50
clip_model_loadFunction · 0.50

Calls 1

ggml_nbytesFunction · 0.70

Tested by

no test coverage detected