aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-05-14 18:22:50 +0300
committerGitHub <noreply@github.com>2023-05-14 18:22:50 +0300
commit13c351ad7292c5b5ab35db25c7a4f993e75d9cfd (patch)
tree8b53a502ca6c32019fba7f3d58dc90aa976e6834 /ggml.h
parent60f8c361ca26328ef8523dfb08077fe2f1034490 (diff)
ggml : various fixes (#1450)
- `ggml_rope()` - `ggml_diag_mask_inf()` multi-threaded - compatibility with scratch buffers
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml.h b/ggml.h
index 3b045ad..255541d 100644
--- a/ggml.h
+++ b/ggml.h
@@ -340,7 +340,7 @@ extern "C" {
// n-dimensional tensor
struct ggml_tensor {
- enum ggml_type type;
+ enum ggml_type type;
enum ggml_backend backend;
int n_dims;
@@ -372,7 +372,7 @@ extern "C" {
char name[32];
- char padding[9]; // TODO: remove and add padding to name?
+ char padding[16];
};
// computation graph