by bjourne · 3y ago · 0 comments
Sometimes "showing the code" is not enough. Show me the benchmark.
The only other explanation is if you ran the non-simd Julia version under a single thread.
Would the C compiler automatically exploit vectorized instructions on the CPU, or loop/kernel fusion, etc? It’s unclear otherwise how it would be faster than Julia/Mojo code exploiting several hardware features.