Skip to content

Commit

Permalink
ggml : fix typo in example usage ggml_gallocr_new (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev authored Oct 4, 2024
1 parent decae83 commit b77f48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ggml-alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ GGML_API void ggml_tallocr_alloc(struct ggml_tallocr * talloc, st
// Graph allocator
/*
Example usage:
ggml_gallocr_t galloc = ggml_gallocr_new(ggml_bacckend_cpu_buffer_type());
ggml_gallocr_t galloc = ggml_gallocr_new(ggml_backend_cpu_buffer_type());
// optional: create a worst-case graph and reserve the buffers to avoid reallocations
ggml_gallocr_reserve(galloc, build_graph(max_batch));
Expand Down

0 comments on commit b77f48b

Please sign in to comment.