Skip to content

Commit f1b539d

Browse files
authored
simple : fix typo (#1319)
1 parent daf7906 commit f1b539d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple/simple-backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ struct ggml_cgraph * build_graph(const simple_model& model) {
9999
struct ggml_init_params params0 = {
100100
/*.mem_size =*/ buf_size,
101101
/*.mem_buffer =*/ buf.data(),
102-
/*.no_alloc =*/ true, // the tensors will be allocated later by ggml_allocr_alloc_graph()
102+
/*.no_alloc =*/ true, // the tensors will be allocated later by ggml_gallocr_alloc_graph()
103103
};
104104

105105
// create a temporally context to build the graph

0 commit comments

Comments
 (0)