News for hackers. Stuff that matters.
Re:Intel MKL on AMD Zen by shepardrtc on Monday August 31, 2020 @06:34PM (#24336570)
To add to that, I believe OpenBLAS surpassed MKL in benchmarks a while ago. Even if I had an Intel CPU, I would probably use OpenBLAS if I had the choice.
Re:Intel MKL on AMD Zen by danieldk on Tuesday September 01, 2020 @01:47AM (#24338934)
I benchmarked some of my large transformer networks the last few days and MKL is still 50% faster than OpenBLAS.

What's even worse in real-world applications is that OpenBLAS misbehaves when an application uses threads. This is also described in the OpenBLAS FAQ:

If your application is already multi-threaded, it will conflict with OpenBLAS multi-threading. Thus, you must set OpenBLAS to use single thread as following.

https://github.com/xianyi/OpenBLAS/wiki/faq#multi-threaded

Re:Intel MKL on AMD Zen by gnufx on Tuesday September 01, 2020 @06:07AM (#24340104)
So what are the results with libxsmm and current AMD BLAS, as that must be for small dimensions?

The reason it's serial BLAS that mainly matters is that HPC codes are usually parallelized above the BLAS; why do you want the nesting? Swapping in threaded OpenBLAS or BLIS is something you might do with basically serial stuff like vanilla R, e.g. https://loveshack.fedorapeople.org/blas-subversion.html#_add... OpenBLAS threading has been somewhat buggy, but the main problem with its OpenMP support currently seems to be that using OMP_PLACES kills it.

Re:Intel MKL on AMD Zen by roseway4 on Monday August 31, 2020 @07:19PM (#24336876)
Reference please. This is definitely not my experience.
Re:Intel MKL on AMD Zen by singhrac on Monday August 31, 2020 @08:20PM (#24337237)
Definitely not mine either, though I haven't benchmarked in a few years (and would love this to be true).