gpt_neox_client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,25 @@
1
+ #pragma once
2
+
3
+ #include "ggml.h"
4
+
5
+ #ifdef __cplusplus
6
+ extern "C" {
7
+ #endif
8
+
9
+ void ggml_cl_init(void);
10
+
11
+ void ggml_cl_mul(const struct ggml_tensor * src0, const struct ggml_tensor * src1, struct ggml_tensor * dst);
12
+ bool ggml_cl_can_mul_mat(const struct ggml_tensor * src0, const struct ggml_tensor * src1, struct ggml_tensor * dst);
13
+ size_t ggml_cl_mul_mat_get_wsize(const struct ggml_tensor * src0, const struct ggml_tensor * src1, struct ggml_tensor * dst);
14
+ void ggml_cl_mul_mat(const struct ggml_tensor * src0, const struct ggml_tensor * src1, struct ggml_tensor * dst, void * wdata, size_t wsize);
15
+
16
+ void * ggml_cl_host_malloc(size_t size);
17
+ void ggml_cl_host_free(void * ptr);
18
+
19
+ void ggml_cl_free_data(const struct ggml_tensor* tensor);
20
+
21
+ void ggml_cl_transform_tensor(void * data, struct ggml_tensor * tensor);
22
+
23
+ #ifdef __cplusplus
24
+ }
25
+ #endif