Local memory on blas_dgemm should be double[].