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 844d60b commit e29a5daCopy full SHA for e29a5da
ggml.c
@@ -181,9 +181,9 @@ int64_t ggml_cycles_per_ms(void) {
181
//
182
183
#if defined(__cpp_lib_hardware_interference_size)
184
- const size_t CACHE_LINE_SIZE = hardware_destructive_interference_size;
+#define CACHE_LINE_SIZE hardware_destructive_interference_size
185
#else
186
- const size_t CACHE_LINE_SIZE = 64;
+#define CACHE_LINE_SIZE 64
187
#endif
188
189
const size_t CACHE_LINE_SIZE_F32 = CACHE_LINE_SIZE/sizeof(float);
0 commit comments