summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/include/ggml-zdnn.h
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/ggml/include/ggml-zdnn.h')
-rw-r--r--llama.cpp/ggml/include/ggml-zdnn.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/llama.cpp/ggml/include/ggml-zdnn.h b/llama.cpp/ggml/include/ggml-zdnn.h
new file mode 100644
index 0000000..fbf45b6
--- /dev/null
+++ b/llama.cpp/ggml/include/ggml-zdnn.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "ggml.h"
+#include "ggml-backend.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+// device buffer
+GGML_BACKEND_API ggml_backend_buffer_type_t ggml_backend_zdnn_buffer_type(void);
+
+GGML_BACKEND_API ggml_backend_reg_t ggml_backend_zdnn_reg(void);
+
+#ifdef __cplusplus
+}
+#endif