Top 3 Optimized BLAS/LAPACK Libraries

Intel Math Kernel Library (MKL) is often the top performer on Intel processors, while OpenBLAS, a widely used open-source option for various architectures, and BLIS (BLAS-like Library Instantiation Software), which often outperforms OpenBLAS and MKL on AMD chips, are leading alternatives.

The top 3

  1. Intel oneMKL's Performance Edge & 'Cripple AMD' Legacy: Intel oneAPI Math Kernel Library (oneMKL) achieves high performance on Intel CPUs using function multi-versioning, selecting optimal instruction sets at runtime. Historically, it was criticized for a 'cripple AMD' routine that defaulted to slower code paths on non-Intel CPUs, regardless of their instruction set support. [2, 13]
  2. OpenBLAS: The GotoBLAS Successor's Portable Performance: OpenBLAS is a high-performance, open-source BLAS/LAPACK library, a successor to the highly optimized GotoBLAS developed by Kazushige Goto. It offers extensive multithreading support and hand-tuned optimizations for various processor architectures, including Intel, AMD, ARM, MIPS, and RISC-V, often achieving performance comparable to Intel MKL. [1, 4, 17]
  3. BLIS: A BLAS-like Framework for Modern Architectures: BLIS (BLAS-like Library Instantiation Software) is an open-source framework designed to simplify the development of high-performance BLAS-like libraries. It provides a systematic approach to creating optimized linear algebra routines, aiming for competitive performance against highly tuned libraries like OpenBLAS and MKL, with AMD also maintaining an optimized fork for its processors. [5, 15, 18]

Sources

Open the full topic