General Matrix Multiply

The General Matrix Multiply (GEMM) is a subroutine in the Basic Linear Algebra Subprograms (BLAS) which performs matrix multiplication, that is the multiplication of two matrices. This includes:

  • SGEMM for single precision,
  • DGEMM for double-precision,
  • CGEMM for complex single precision, and
  • ZGEMM for complex double precision.

GEMM is often tuned by High Performance Computing vendors to run as fast as possible, because it is the building block for so many other routines. It is also the most important routine in the LINPACK benchmark. For this reason, implementations of fast BLAS library typically focus first on GEMM performance.

Read more about General Matrix Multiply:  Operation, Optimization

Famous quotes containing the words general, matrix and/or multiply:

    The nearest the modern general or admiral comes to a small-arms encounter of any sort is at a duck hunt in the company of corporation executives at the retreat of Continental Motors, Inc.
    C. Wright Mills (1916–1962)

    In all cultures, the family imprints its members with selfhood. Human experience of identity has two elements; a sense of belonging and a sense of being separate. The laboratory in which these ingredients are mixed and dispensed is the family, the matrix of identity.
    Salvador Minuchin (20th century)

    Off south, the bison multiply so fast
    a slaughter’s mandatory every spring
    and every spring the creeks get fat
    and Kicking Horse fills up.
    Richard Hugo (1923–1982)