BLAS Levels: Work vs. Data for Max Speed

BLAS Level 1 (vector-vector operations) involves O(N) data and O(N) work. Level 2 (matrix-vector operations) scales to O(N^2) data and O(N^2) work. Level 3 (matrix-matrix operations) performs O(N^3) work on just O(N^2) data, making it highly efficient for cache utilization and thus providing superior performance on modern architectures.

Sources

Open the full topic