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.
2 parents ab37137 + 7e53968 commit 9b8e73fCopy full SHA for 9b8e73f
ggml/include/ggml.h
@@ -638,7 +638,9 @@ extern "C" {
638
void * extra; // extra things e.g. for ggml-cuda.cu
639
640
#ifdef GGML_NUMA_MIRROR
641
- char padding[4];
+ char padding[10];
642
+#else
643
+ char padding[8];
644
#endif
645
};
646
ggml/src/ggml.c
@@ -1672,9 +1672,7 @@ static struct ggml_tensor * ggml_new_tensor_impl(
1672
1673
/*.name =*/ { 0 },
1674
/*.extra =*/ NULL,
1675
-#ifdef GGML_NUMA_MIRROR
1676
/*.padding =*/ { 0 },
1677
-#endif
1678
1679
1680
// TODO: this should not be needed as long as we don't rely on aligned SIMD loads
0 commit comments