Top 3 BLAS/LAPACK Implementations for Peak Performance

Intel Math Kernel Library (MKL), OpenBLAS, and BLIS are leading optimized implementations of BLAS/LAPACK. MKL excels on Intel processors, OpenBLAS offers strong open-source performance across various architectures, and BLIS provides a BLAS-like framework often outperforming OpenBLAS and sometimes MKL on non-Intel chips.

The top 3

  1. Intel MKL: Peak Performance on Intel CPUs: Intel's Math Kernel Library (MKL) delivers highly optimized BLAS/LAPACK routines, leveraging proprietary instruction sets like AVX-512 for peak performance primarily on Intel CPUs and GPUs. It utilizes function multi-versioning to select the best code path for the detected processor.
  2. OpenBLAS: Open-Source Performance Rival: OpenBLAS, a fork of the acclaimed GotoBLAS2, offers an open-source, high-performance BLAS/LAPACK implementation with hand-optimized kernels for various architectures, including x86, ARMv8, MIPS, and RISC-V, often achieving performance comparable to Intel MKL on compatible instruction sets.
  3. BLIS: Modular Architecture for Portability: BLIS (BLAS-like Library Instantiation Software) is a framework designed for high-performance and portability, isolating architecture-sensitive code into a small 'microkernel.' This modular approach simplifies optimization for new hardware, allowing high performance across various architectures, particularly for Level-3 BLAS operations.

Sources

Open the full topic