From: Daniel Bevenius Date: Fri, 4 Oct 2024 13:46:18 +0000 (+0200) Subject: ggml : fix typo in example usage ggml_gallocr_new (#984) X-Git-Tag: upstream/0.0.1642~306 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=b77f48b1efa671e094696b99fbf566aac8c87d74;p=pkg%2Fggml%2Fsources%2Fggml ggml : fix typo in example usage ggml_gallocr_new (#984) --- diff --git a/include/ggml-alloc.h b/include/ggml-alloc.h index 0dff47d6..23600eea 100644 --- a/include/ggml-alloc.h +++ b/include/ggml-alloc.h @@ -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));