We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c3eef commit 6f90c78Copy full SHA for 6f90c78
ggml/include/ggml.h
@@ -623,9 +623,10 @@ extern "C" {
623
624
char name[GGML_MAX_NAME];
625
626
- void * extra; // extra things e.g. for ggml-cuda.cu
+ void * extra; // extra things for the backend e.g. for ggml-cuda.cu
627
+ void * user; // extra things for the user e.g. for python or node bindings
628
- char padding[8];
629
+ char padding[0];
630
};
631
632
static const size_t GGML_TENSOR_SIZE = sizeof(struct ggml_tensor);
0 commit comments