AUGEM: automatically generate high performance dense linear algebra kernels on x86 CPUs
The DOI matches its Crossref record; 19 of the 19 references it cites were found in a registry or an index.
Abstract
Basic Liner algebra subprograms (BLAS) is a fundamental library in scientific computing. In this paper, we present a template-based optimization framework, AUGEM, which can automatically generate fully optimized assembly code for several dense linear algebra (DLA) kernels, such as GEMM, GEMV, AXPY and DOT, on varying multi-core CPUs without requiring any manual interference from developers. In particular, based on domain-specific knowledge about algorithms of the DLA kernels, we use a collection of parameterized code templates to formulate a number of commonly occurring instruction sequences within the optimized low-level C code of these DLA kernels. Then, our framework uses a specialized low-level C optimizer to identify instruction sequences that match the pre-defined code templates and thereby translates them into extremely efficient SSE/AVX instructions. The DLA kernels generated by our template-based approach surpass the implementations of Intel MKL and AMD ACML BLAS libraries, on both Intel Sandy Bridge and AMD Piledriver processors.
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
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 · cited 18×
“In most cases, invoking kernels generated by our framework enables these DLA routines to outperform those from Intel MKL, AMD ACML, ATLAS, and GotoBLAS, except for the TRSM routine, which solves the triangular matrix equation: B = L−1∗B.”
BackgroundMethodInfluentialAutomatically Tuned Linear Algebra Software
Whaley, R. C., & Dongarra, J. J. (1998) · Conference on High Performance Computing (Supercomputing) · doi:10.5555/509058.509096 · Cited by 854
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 · cited 6×
“For example, GotoBLAS, a highly opti mized library developed by Kazushige Goto [12], includes a large number of manually written assembly code varia tions to accommodate the numerous different hardware plat forms.”
MethodInfluentialOptimizing matrix multiply using PHiPAC: a portable, high-performance, ANSI C coding methodology
Bilmes, J., Asanovic, K., Chin, C.-W., & Demmel, J. (2014) · 25th Anniversary International Conference on Supercomputing Anniversary Volume - · doi:10.1145/2591635.2667174 · Cited by 453
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 · cited 2×
“Here the TRSM computation has been transformed into two steps: 1) B1 = L −1 11 ∗ B1; 2) B2 = B2 − L21 ∗ B1 [13].”
MethodOptimizing matrix multiply using PHiPAC: a portable, high-performance, ANSI C coding methodology
Bilmes, J., Asanovic, K., Chin, C.-W., & Demmel, J. (1997) · Proceedings of the 11th international conference on Supercomputing - ICS '97 · doi:10.1145/263580.263662 · Cited by 308 · cited 3×
“, PHiPAC [5] and AT LAS [15] [16], include code generators that can automati cally produce highly efficient implementations of DLA ker nels on varying architectures.”
MethodModel-driven Level 3 BLAS Performance Optimization on Loongson 3A Processor
Xianyi, Z., Qian, W., & Yunquan, Z. (2012) · 2012 IEEE 18th International Conference on Parallel and Distributed Systems · doi:10.1109/icpads.2012.97 · Cited by 182 · cited 2×
“Further, the GEMM kernel generated by our framework for the Intel Sandy Bridge CPU has been adopted as a part of our open-source BLAS library OpenBLAS [21].”
MethodCommunication-optimal parallel algorithm for strassen's matrix multiplication
Ballard, G., Demmel, J. W., Holtz, O., Lipshitz, B., & Schwartz, O. (2012) · ACM Symposium on Parallelism in Algorithms and Architectures (SPAA) · doi:10.1145/2312005.2312044 · Cited by 144
POET: Parameterized Optimizations for Empirical Tuning
Yi, Q., Seymour, K., You, H., Vuduc, R. W., & Quinlan, D. J. (2007) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps.2007.370637 · Cited by 134 · cited 1×
“All components are fully automated using POET, an interpreted program transformation language designed to support programmable control and parameterization of compiler optimizations so that the best optimization configurations can be selected based on performance feedback of the optimized code [20, 18].”
MethodSelf-citationCombining Models and Guided Empirical Search to Optimize for Multiple Levels of the Memory Hierarchy
Chen, C., Chame, J., & Hall, M. W. (2005) · Proceedings of the CGO/Proceedings of the ... CGO · doi:10.1109/cgo.2005.10 · Cited by 114 · cited 2×
“A number of general-purpose source-to-source compilers [6, 9, 8, 10, 17] can also generate highly efficient low-level C code for various DLA routines.”
BackgroundMethod
Cited by
Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., et al. (2020) · Nature · doi:10.1038/s41586-020-2649-2 · Cited by 23,826
“backends such as OpenBLAS [19, 20] or Intel MKL optimized for the CPUs at hand.”
MethodNeurosurgeon: Collaborative Intelligence Between the Cloud and Mobile Edge
Kang, Y., Hauswald, J., Gao, C., Rovinski, A., Mudge, T., Mars, J., & Tang, L. (2017) · ACM SIGARCH Computer Architecture News · doi:10.1145/3093337.3037698 · Cited by 806
Neurosurgeon: Collaborative Intelligence Between the Cloud and Mobile Edge
Kang, Y., Hauswald, J., Gao, C., Rovinski, A., Mudge, T., Mars, J., & Tang, L. (2017) · Proceedings of the Twenty-Second International Conference on Architectural Support for Programming Languages and Operating Systems · doi:10.1145/3037697.3037698 · Cited by 673
“For the mobile CPU, we use OpenBLAS [19], a NEON-vectorized matrix multiplication library and use the 4 cores available.”
MethodMarek, A., Blum, V, Johanni, R., Havu, V, Lang, B., Auckenthaler, T., Heinecke, A., Bungartz, H.-J., & Lederer, H. (2014) · Journal of Physics: Condensed Matter · doi:10.1088/0953-8984/26/21/213201 · Cited by 300
Neurosurgeon: Collaborative Intelligence Between the Cloud and Mobile Edge
Kang, Y., Hauswald, J., Gao, C., Rovinski, A., Mudge, T., Mars, J., & Tang, L. (2017) · ACM SIGPLAN Notices · doi:10.1145/3093336.3037698 · Cited by 185
Metadata
- Authors
- Wang, Q., Zhang, X., Zhang, Y., & Yi, Q.
- Venue
- Proceedings of the International Conference on High Performance Computing, Networking, Storage and Analysis
- Publisher
- ACM
- Published
- 2013-11-17
- Pages
- 1-12
- OpenAlex
- W2064872546
- Cited by
- 199
- References
- 19
- FWCI
- 7.89
- Type
- conference paper
- 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.