2 ms·
If that number crunching is highly vectorizable, avx-512 of skylake-x will likely still be faster. Eg, an Intel 7900x is over twice as fast at multiplying big m
by celrod 8y ago
If that number crunching is highly vectorizable, avx-512 of skylake-x will likely still be faster. Eg, an Intel 7900x is over twice as fast at multiplying big matrices (multithreaded) as an AMD 1950x. Of course, a similarly priced GPU would stomp both whenever CPU-GPU latency isn't much of an issue.
Meaning "highly vectorizable number crunching that you can't practically run on a GPU for some reason" is probably fairly niche. In LINPACK the even the 1950x beat the 7980XE on phoronix:
https://www.phoronix.com/scan.php?page=article&item=amd-linux-2990wx&num=4 https://www.phoronix.com/scan.php?page=article&item=amd-linu...
and I'd have thought LINPACK would really reward AVX...
Maybe it isn't optimized to take advantage of it?
I love wasting time playing with number crunchinng microbenchmarks, and when you do that avx-512 seems so unassailably impressive, it's surprising to see this not bourne out in larger benchmarks. (Also worth pointing out you need to tell gcc -mprefer-vector-width=512 on top of march=skylake-avx512, otherwise it'll prefer 256 bit vectors).
Anyway, those benchmarks definitely support compiling and number crunching. Pretty ideal for stuff like monte carlo.