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 238005c commit 357ead0Copy full SHA for 357ead0
ggml/include/ggml.h
@@ -602,9 +602,10 @@ extern "C" {
602
603
char name[GGML_MAX_NAME];
604
605
- void * extra; // extra things e.g. for ggml-cuda.cu
+ void * extra; // extra things for the backend e.g. for ggml-cuda.cu
606
+ void * user; // extra things for the user e.g. for python or node bindings
607
- char padding[8];
608
+ char padding[0];
609
};
610
611
static const size_t GGML_TENSOR_SIZE = sizeof(struct ggml_tensor);
0 commit comments