Explorar o código

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

Daniel Bevenius hai 1 ano
pai
achega
55951c018d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ggml/include/ggml-alloc.h

+ 1 - 1
ggml/include/ggml-alloc.h

@@ -24,7 +24,7 @@ GGML_API void                ggml_tallocr_alloc(struct ggml_tallocr * talloc, st
 // Graph allocator
 // Graph allocator
 /*
 /*
   Example usage:
   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
     // optional: create a worst-case graph and reserve the buffers to avoid reallocations
     ggml_gallocr_reserve(galloc, build_graph(max_batch));
     ggml_gallocr_reserve(galloc, build_graph(max_batch));