MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / ggml_init_params

Class ggml_init_params

tests/test_metal_profile.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 int warmup = 2, int repeats = 5) {
24 size_t ctx_size = ggml_tensor_overhead() * 64 + ggml_graph_overhead();
25 struct ggml_init_params params = {ctx_size, nullptr, true};
26 auto* ctx = ggml_init(params);
27
28 auto result = build(ctx);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected