Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

BLAS Routines

📅 2020-Sep-28 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

Basic Linear Algebra Subprograms (BLAS) define the API for level 1 (vector), level 2 (matrix-vector) and level 3 (matrix-matrix) operations. There are implementations of this API available that are optimized for particular processors, like MKL for Intel CPUs and cuBLAS for NVIDIA GPUs.

BLAS routine names are a bit cryptic and hard to decipher. The first letter denotes the precision, like S: single precision float. But for the rest of the name I usually refer to the 3 papers that defined the 3 API respectively:

Some of the routine names: