danbev commited on
Commit
30a097b
·
1 Parent(s): 237c05a

ggml : fix typo in example usage ggml_gallocr_new (ggml/984)

Browse files
Files changed (1) hide show
  1. ggml/include/ggml-alloc.h +1 -1
ggml/include/ggml-alloc.h CHANGED
@@ -24,7 +24,7 @@ GGML_API void ggml_tallocr_alloc(struct ggml_tallocr * talloc, st
24
  // Graph allocator
25
  /*
26
  Example usage:
27
- ggml_gallocr_t galloc = ggml_gallocr_new(ggml_bacckend_cpu_buffer_type());
28
 
29
  // optional: create a worst-case graph and reserve the buffers to avoid reallocations
30
  ggml_gallocr_reserve(galloc, build_graph(max_batch));
 
24
  // Graph allocator
25
  /*
26
  Example usage:
27
+ ggml_gallocr_t galloc = ggml_gallocr_new(ggml_backend_cpu_buffer_type());
28
 
29
  // optional: create a worst-case graph and reserve the buffers to avoid reallocations
30
  ggml_gallocr_reserve(galloc, build_graph(max_batch));