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

Class ggml_context

tests/test_metal_conv_dw.cpp:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 size_t ctx_size = ggml_tensor_overhead() * 16 + ggml_graph_overhead();
28 struct ggml_init_params params = {ctx_size, nullptr, true};
29 struct ggml_context* ctx = ggml_init(params);
30
31 // Kernel: [KW, KH, 1, C]
32 auto* knl = ggml_new_tensor_4d(ctx, GGML_TYPE_F32, KW, KH, 1, C);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected