Closed
Description
I get this on Ubuntu 18.04 gcc 7.5.0 (time to update, yes), and I don't immediately see how to fix it since I don't know __cpp_lib_hardware_interference_size
. Otherwise a simple replacement with a #define
would suffice.
gcc -pthread -O3 -mavx -mavx2 -mfma -mf16c -c ggml.c
ggml.c:183:36: error: initializer element is not constant
const size_t CACHE_LINE_SIZE_F32 = CACHE_LINE_SIZE/sizeof(float);