Skip to content

Commit 55951c0

Browse files
danbevggerganov
authored andcommitted
ggml : fix typo in example usage ggml_gallocr_new (ggml/984)
1 parent ff56576 commit 55951c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/include/ggml-alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GGML_API void ggml_tallocr_alloc(struct ggml_tallocr * talloc, st
2424
// Graph allocator
2525
/*
2626
Example usage:
27-
ggml_gallocr_t galloc = ggml_gallocr_new(ggml_bacckend_cpu_buffer_type());
27+
ggml_gallocr_t galloc = ggml_gallocr_new(ggml_backend_cpu_buffer_type());
2828
2929
// optional: create a worst-case graph and reserve the buffers to avoid reallocations
3030
ggml_gallocr_reserve(galloc, build_graph(max_batch));

0 commit comments

Comments
 (0)