GEMM-based level 3 BLAS: high-performance model implementations and performance evaluation benchmark
The DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.
Abstract
The level 3 Basic Linear Algebra Subprograms (BLAS) are designed to perform various matrix multiply and triangular system solving computations. Due to the complex hardware organization of advanced computer architectures the development of optimal level 3 BLAS code is costly and time consuming. However, it is possible to develop a portable and high-performance level 3 BLAS library mainly relying on a highly optimized GEMM, the routine for the general matrix multiply and add operation. With suitable partitioning, all the other level 3 BLAS can be defined in terms of GEMM and a small amount of level 1 and level 2 computations. Our contribution is twofold. First, the model implementations in Fortran 77 of the GEMM-based level 3 BLAS are structured to reduced effectively data traffic in a memory hierarchy. Second, the GEMM-based level 3 BLAS performance evaluation benchmark is a tool for evaluating and comparing different implementations of the level 3 BLAS with the GEMM-based model implementations.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Anderson, E., Bai, Z., Bischof, C., Blackford, L. S., Demmel, J., Dongarra, J., Du Croz, J., Greenbaum, A., Hammarling, S., McKenney, A., et al. (1999) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9780898719604 · Cited by 4,435 · cited 2×
“In tables 1 and 2, the operations and the parameter lists of the level 3 BLAS are summarized [3].”
BackgroundMethodGaussian elimination is not optimal
Strassen, V. (1969) · Numerische Mathematik · doi:10.1007/bf02165411 · Cited by 2,509 · cited 2×
“It is also possible to create a level 3 BLAS library based on fast algorithms for the GEMM operation, e.g., Strassen s or Winograd s algorithms [Strassen 1969; Winograd 1973; Higham 1990; Douglas et al. 1994].”
BackgroundMethodA set of level 3 basic linear algebra subprograms
Dongarra, J. J., Du Croz, J., Hammarling, S., & Duff, I. S. (1990) · ACM Transactions on Mathematical Software · doi:10.1145/77626.79170 · Cited by 1,821 · cited 10×
“From the benchmark results in Tables XII and XIII we see that the GEMM-based model implementations show a factor 2 3 times better performance (measured in terms of the GEMM-efficiency) than the original Fortran 77 model implementations [Dongarra et al. 1990a; 1990b].”
BackgroundMethodInfluentialBasic Linear Algebra Subprograms for Fortran Usage
Lawson, C. L., Hanson, R. J., Kincaid, D. R., & Krogh, F. T. (1979) · ACM Transactions on Mathematical Software · doi:10.1145/355841.355847 · Cited by 1,634 · cited 2×
“Typically, these matrix-matrix operations are expressed as calls to level 3 Basic Linear Algebra Subprograms (BLAS) [9, 10], which together with level 1 BLAS [22] and level 2 BLAS [7] are de facto standards for basic matrix and vector operations.”
BackgroundAn extended set of FORTRAN basic linear algebra subprograms
Dongarra, J. J., Du Croz, J., Hammarling, S., & Hanson, R. J. (1988) · ACM Transactions on Mathematical Software · doi:10.1145/42288.42291 · Cited by 887 · cited 6×
“…these matrix-matrix operations are expressed as calls to level 3 Basic Linear Algebra Subprograms (BLAS) [Dongarra et al. 1990a; 1990b], which together with level 1 BLAS [Lawson et al. 1979] and level 2 BLAS [Dongarra et al. 1988], are de facto standards for basic matrix and vector operations.”
BackgroundMethodInfluential(1894) · Journal of Education · doi:10.1177/002205749404000313 · Cited by 318
Exploiting fast matrix multiplication within the level 3 BLAS
Higham, N. J. (1990) · ACM Transactions on Mathematical Software · doi:10.1145/98267.98290 · Cited by 115 · cited 2×
“It is also possible to create a level 3 BLAS library based on fast algorithms for the GEMM operation, e.g., Strassen s or Winograd s algorithms [Strassen 1969; Winograd 1973; Higham 1990; Douglas et al. 1994].”
BackgroundMethodExploiting functional parallelism of POWER2 to design high-performance numerical algorithms
Agarwal, R. C., Gustavson, F. G., & Zubair, M. (1994) · IBM Journal of Research and Development · doi:10.1147/rd.385.0563 · Cited by 69 · cited 7×
“Some vendors provide highly optimized BLAS for their machines, see for example [2, 1, 16, 4, 24], while others provide optimized versions of some or none of the routines.”
BackgroundMethodInfluentialCompiler blockability of dense matrix factorizations
Carr, S., & Lehoucq, R. B. (1997) · ACM Transactions on Mathematical Software · doi:10.1145/275323.275325 · Cited by 24 · cited 1×
“The long-term goal is of course that a compiler can take care of most of these optimization techniques [Carr and Lehoucq 1997], but we are not there yet.”
BackgroundA parallel block implementation of Level-3 BLAS for MIMD vector processors
Daydé, M. J., Duff, I., & Petitet, A. P. (1994) · ACM Transactions on Mathematical Software · doi:10.1145/178365.174413 · Cited by 20 · cited 1×
“Vendor-independent groups have also developed tuned level 3 kernels for di erent machines, for example [23, 17, 13, 6, 14], where some are based on the GEMM-based concept [17, 6, 14].”
Background
Cited by
Automated empirical optimizations of software and the ATLAS project
Clint Whaley, R., Petitet, A., & Dongarra, J. J. (2001) · Parallel Computing · doi:10.1016/s0167-8191(00)00087-9 · Cited by 1,317
An updated set of basic linear algebra subprograms (BLAS)
(2002) · ACM Transactions on Mathematical Software · doi:10.1145/567806.567807 · Cited by 834
Anatomy of high-performance matrix multiplication
Goto, K., & Geijn, R. A. V. D. (2008) · ACM Transactions on Mathematical Software · doi:10.1145/1356052.1356053 · Cited by 753
CSDP, A C library for semidefinite programming
Borchers, B. (1999) · Optimization Methods and Software · doi:10.1080/10556789908805765 · Cited by 509
Towards dense linear algebra for hybrid GPU accelerated manycore systems
Tomov, S., Dongarra, J., & Baboulin, M. (2010) · Parallel Computing · doi:10.1016/j.parco.2009.12.005 · Cited by 451
BLIS: A Framework for Rapidly Instantiating BLAS Functionality
Van Zee, F. G., & van de Geijn, R. A. (2015) · ACM Transactions on Mathematical Software · doi:10.1145/2764454 · Cited by 356
High-performance implementation of the level-3 BLAS
Goto, K., & Van De Geijn, R. (2008) · ACM Transactions on Mathematical Software · doi:10.1145/1377603.1377607 · Cited by 312
Minimizing development and maintenance costs in supporting persistently optimized BLAS
Whaley, R. C., & Petitet, A. (2005) · Software: Practice and Experience · doi:10.1002/spe.626 · Cited by 254
A dependency-aware task-based programming environment for multi-core architectures
Perez, J. M., Badia, R. M., & Labarta, J. (2008) · 2008 IEEE International Conference on Cluster Computing · doi:10.1109/clustr.2008.4663765 · Cited by 233
“This is the case of many linear algebra algorithms like the matrix multiplication, the Cholesky factorization or the LU decomposition without pivoting [8], [9], [10].”
MethodSelf-Adapting Linear Algebra Algorithms and Software
Demmel, J., Dongarra, J., Eijkhout, V., Fuentes, E., Petitet, A., Vuduc, R., Whaley, R. C., & Yelick, K. (2005) · Proceedings of the IEEE · doi:10.1109/jproc.2004.840848 · Cited by 204
“Such Level 3 BLAS designs are traditionally referred to as GEMM-based[25, 26, 27, 28, 29].”
Background
Metadata
- Authors
- Kågström, B., Ling, P., & van Loan, C.
- Venue
- ACM Transactions on Mathematical Software
- Published
- 1998-09
- Volume
- 24
- Issue
- 3
- Pages
- 268-302
- ISSN
- 0098-3500 (ISSN-L)
- 1557-7295
- OpenAlex
- W2079658918
- Cited by
- 204
- References
- 11
- FWCI
- 10.04
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.