summaryrefslogtreecommitdiff
path: root/ggml-metal.h
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-metal.h')
-rw-r--r--ggml-metal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ggml-metal.h b/ggml-metal.h
index fca28d37..790cf0bf 100644
--- a/ggml-metal.h
+++ b/ggml-metal.h
@@ -19,6 +19,8 @@
#pragma once
+#include "ggml.h"
+
#include <stddef.h>
#include <stdbool.h>
@@ -33,6 +35,8 @@ struct ggml_cgraph;
extern "C" {
#endif
+void ggml_metal_log_set_callback(ggml_log_callback log_callback, void * user_data);
+
struct ggml_metal_context;
// number of command buffers to use