3 ms·
You'll typically need "restrict"ed arguments for vectorization in C, but then GCC usually does vectorize the loops OK in BLAS-like code. There may be advantage
by gnufx 7y ago
You'll typically need "restrict"ed arguments for vectorization in C, but then GCC usually does vectorize the loops OK in BLAS-like code. There may be advantages from Fortran arrays; I forget the details.
- stephencanon 7y agoFortran gets you both restrict and re-association allowed by default, plus the nice syntax for vector ops. That's about it, though.