OpenBLAS explained

OpenBLAS
Author:Kazushige Goto
Developer:Zhang Xianyi, Wang Qian, Werner Saar
Programming Language:C, modern Fortran
Operating System:
Platform:
Genre:Linear algebra library; implementation of BLAS
License:BSD License

OpenBLAS is an open-source implementation of the BLAS (Basic Linear Algebra Subprograms) and LAPACK APIs with many hand-crafted optimizations for specific processor types. It is developed at the Lab of Parallel Software and Computational Science, ISCAS.

OpenBLAS adds optimized implementations of linear algebra kernels for several processor architectures, including Intel Sandy Bridge[2] and Loongson.[3] It claims to achieve performance comparable to the Intel MKL. On machines that support the AVX2 instruction set, OpenBLAS can achieve similar performance to MKL, but there are currently almost no open source libraries comparable to MKL on CPUs with the AVX512 instruction set.

OpenBLAS is a fork of GotoBLAS2, which was created by Kazushige Goto at the Texas Advanced Computing Center.

History and present

OpenBLAS was developed by the parallel software group led by Professor Yunquan Zhang from the Chinese Academy of Sciences.

OpenBLAS was initially only for the Loongson CPU platform. Dr. Xianyi Zhang contributed a lot of work. Since GotoBLAS was abandoned, the successor OpenBLAS is now developed as an open source BLAS library for multiple platforms, including x86, ARMv8, MIPS, and RISC-V platforms, and is respected for its excellent portability.

The parallel software group is modernizing OpenBLAS to meet current computing needs. For example, OpenBLAS's level-3 computations were primarily optimized for large and square matrices (often considered as regular-shaped matrices). And now irregular-shaped matrix multiplication are also supported, such as tall and skinny matrix multiplication (TSMM),[4] which supports faster deep learning calculations on the CPU. TSMM is one of the core calculations in deep learning operations. Besides this, the compact function and small GEMM will also be supported by OpenBLAS.

See also

Notes and References

  1. Web site: OpenBLAS. 25 October 2021.
  2. Wang Qian . Zhang Xianyi . Zhang Yunquan . Qing Yi . AUGEM: Automatically Generate High Performance Dense Linear Algebra Kernels on x86 CPUs . Int'l Conf. on High Performance Computing, Networking, Storage and Analysis . 2013 .
  3. Zhang Xianyi . Wang Qian. Zhang Yunquan . Model-driven Level 3 BLAS Performance Optimization on Loongson 3A Processor . IEEE 18th Int'l Conf. on Parallel and Distributed Systems (ICPADS) . 2012.
  4. Chendi Li . Haipeng Jia . Hang Cao . Jianyu Yao . Boqian Shi . Chunyang Xiang . Jinbo Sun . Pengqi Lu . Yunquan Zhang . AutoTSMM: An Auto-tuning Framework for Building High-Performance Tall-and-Skinny Matrix-Matrix Multiplication on CPUs . IEEE International Symposium on Parallel and Distributed Processing with Applications . 2021 .