#define _ISOC11_SOURCE 1 #include #include #include #include /* aligned_alloc not yet present on g0 */ #define aligned_alloc memalign extern void matmul(double a[], double b[], double c[], size_t m, size_t n, size_t p); /* a has m cols and n rows, b has p cols and m rows, c has p cols and n rows */ void init(double a[], size_t n, double start) { size_t i; for (i=0; i