4 ms·
> the compiler will take care of the rest via auto-vectorization and PhD level optimization algorithms. With how AVX512 is implemented, there isn't much point
by teruakohatu 6y ago
> the compiler will take care of the rest via auto-vectorization and PhD level optimization algorithms.
With how AVX512 is implemented, there isn't much point in a compiler auto optimizing general purpose code to use it, because even if there is a theoretical speedup, it may well be slower in practice.
- pjmlp 6y agoThere might not be one, but all major C, C++, Hotspot, Graal and RyuJIT compilers do it to some extent.