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

Method init

llama.cpp:4931–4940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4929 }
4930
4931 void init() {
4932 struct ggml_init_params params = {
4933 /*.mem_size =*/ buf_compute.size,
4934 /*.mem_buffer =*/ buf_compute.data,
4935 /*.no_alloc =*/ true,
4936 };
4937
4938
4939 ctx0 = ggml_init(params);
4940 }
4941
4942 void free() {
4943 if (ctx0) {

Callers

nothing calls this directly

Calls 1

ggml_initFunction · 0.70

Tested by

no test coverage detected