27 ms·
That was my previous experience, but have you tried linking to AMD AOCL recently? I would not expect the performance gap between Intel MKL and AMD AOCL to stil
by chrchang523 4y ago
That was my previous experience, but have you tried linking to AMD AOCL recently? I would not expect the performance gap between Intel MKL and AMD AOCL to still be as large as you describe on a Zen 3.
- Scene_Cast2 4y agoWould you know if AOCL is supported by numpy? And are there any benchmarks out there? (Especially interested in Zen4)
- gnufx 4y agoSince BLAS (and LAPACK) have an essentially well-defined ABI, anything dynamically ELF-linked doesn't need specific support. You can just LD_PRELOAD, say, OpenBLAS or blis+libflame (as in AOCL) to use them. You can also make a trivial libblas.so.3 shim to put on LD_LIBRARY_PATH. (Debian has a heavyweight approach to linear algebra alternatives, with separate builds of the whole library.) See, e.g., https://fx.srht.site/posts/2019-10-20-library-aliases.html https://fx.srht.site/posts/2019-10-20-library-aliases.html