From: AN Long Date: Sat, 2 Aug 2025 14:28:28 +0000 (+0900) Subject: simple : fix typo (#1319) X-Git-Tag: upstream/0.0.2404~27 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f1b539d6ae0c064ce77567f2754349a442e6b95a;p=pkg%2Fggml%2Fsources%2Fggml simple : fix typo (#1319) --- diff --git a/examples/simple/simple-backend.cpp b/examples/simple/simple-backend.cpp index 5ec3e5f7..ffbe1ad7 100644 --- a/examples/simple/simple-backend.cpp +++ b/examples/simple/simple-backend.cpp @@ -99,7 +99,7 @@ struct ggml_cgraph * build_graph(const simple_model& model) { struct ggml_init_params params0 = { /*.mem_size =*/ buf_size, /*.mem_buffer =*/ buf.data(), - /*.no_alloc =*/ true, // the tensors will be allocated later by ggml_allocr_alloc_graph() + /*.no_alloc =*/ true, // the tensors will be allocated later by ggml_gallocr_alloc_graph() }; // create a temporally context to build the graph