Arto's Notes re: BLAS


Levels

  1. Level 1 BLAS, aka BLAS1: vector-vector operations.
  2. Level 2 BLAS, aka BLAS2: vector-matrix operations.
  3. Level 3 BLAS, aka BLAS3: matrix-matrix operations.

Installation

Installation on macOS

$ brew install openblas

Installation on Ubuntu

$ apt install libblas3 libblas-dev

$ apt install libopenblas-base libopenblas-dev

Reference

Interface for C

#include <cblas.h>

int main(void) {
  // TODO
}

Implementations

Reference Implementation

Packaged as libblas3 in Ubuntu.