wiki:Workshops/IntroToHpc2015/BLAS

Basic Linear Algebra Subroutines (BLAS)

http://www.netlib.org/blas/faq.html

Core routines used by LAPACK (Linear Algebra Package) and elsewhere. Generally optimized for particular machine architectures, cache hierarchy.

The subroutines are categorized to three levels.

  • Level 1: Scalar and vector operations
  • Level 2: Matrix-vector operations
  • Level 3: Matrix-matrix operations

Subroutine names start with:

  • S: single precision
  • D: double precision
  • C: single precision complex
  • Z: double precision complex

Examples:

  • DDOT: dot product of two vectors
  • DGEMV: matrix-vector multiply, general matrices
  • DGEMM: matrix-matrix multiply, general matrices
  • DSYMM: matrix-matrix multiply, symmetric matrices

List of Subroutine : http://www.netlib.org/blas/blasqr.pdf

Example

Last modified 4 years ago Last modified on Oct 12, 2015 4:18:05 PM