diff options
Diffstat (limited to 'ggml-metal.h')
-rw-r--r-- | ggml-metal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ggml-metal.h b/ggml-metal.h index bf3f9a6a..00202b78 100644 --- a/ggml-metal.h +++ b/ggml-metal.h @@ -38,6 +38,9 @@ struct ggml_metal_context; struct ggml_metal_context * ggml_metal_init(int n_cb); void ggml_metal_free(struct ggml_metal_context * ctx); +void * ggml_metal_host_malloc(size_t n); +void ggml_metal_host_free (void * data); + // set the number of command buffers to use void ggml_metal_set_n_cb(struct ggml_metal_context * ctx, int n_cb); |