wiki:Workshops/IntroToHpc2015/BLAS

Version 1 (modified by pdejesus, 9 years ago) ( diff )

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

Note: See TracWiki for help on using the wiki.