summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/include/ggml-hexagon.h
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/ggml/include/ggml-hexagon.h')
-rw-r--r--llama.cpp/ggml/include/ggml-hexagon.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/llama.cpp/ggml/include/ggml-hexagon.h b/llama.cpp/ggml/include/ggml-hexagon.h
new file mode 100644
index 0000000..6e07900
--- /dev/null
+++ b/llama.cpp/ggml/include/ggml-hexagon.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include "ggml.h"
+#include "ggml-backend.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+// backend API
+GGML_BACKEND_API ggml_backend_t ggml_backend_hexagon_init(void);
+
+GGML_BACKEND_API bool ggml_backend_is_hexagon(ggml_backend_t backend);
+
+GGML_BACKEND_API ggml_backend_reg_t ggml_backend_hexagon_reg(void);
+
+#ifdef __cplusplus
+}
+#endif