Abstract
The general matrix-matrix multiplication (GEMM) is the most important numerical kernel in dense linear algebra, and is the key component for obtaining high performance in most LAPACK routines. As batched computations on relatively small problems continue to gain interest in many scientific applications, a need arises for a high performance GEMM kernel for batches of small matrices. Such a kernel should be well designed and tuned to handle small sizes, and to maintain high performance for realistic test cases found in the higher level LAPACK routines, and scientific computing applications in general. This paper presents a high performance batched GEMM kernel on Graphics Processing Units (GPUs). We address batched problems with both fixed and variable sizes, and show that specialized GEMM designs and a comprehensive autotuning process are needed to handle problems of small sizes. For most performance tests reported in this paper, the proposed kernels outperform state-of-the-art approaches using a K40c GPU.
Original language | English |
---|---|
Title of host publication | High Performance Computing - 31st International Conference, ISC High Performance 2016, Proceedings |
Editors | Jack Dongarra, Julian M. Kunkel, Pavan Balaji |
Publisher | Springer Verlag |
Pages | 21-38 |
Number of pages | 18 |
ISBN (Print) | 9783319413204 |
DOIs | |
State | Published - 2016 |
Event | 31st International Conference on High Performance Computing, ISC High Performance 2016 - Frankfurt, Germany Duration: Jun 19 2016 → Jun 23 2016 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 9697 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 31st International Conference on High Performance Computing, ISC High Performance 2016 |
---|---|
Country/Territory | Germany |
City | Frankfurt |
Period | 06/19/16 → 06/23/16 |
Funding
This work is based upon work supported by the National Science Foundation under Grants No. ACI-1339822 and CSR 1514286, NVIDIA, the Department of Energy (LLNL subcontract under DOE contract DE-AC52-07NA27344), and in part by the Russian Scientific Foundation, Agreement N14-11-00190.
Keywords
- Autotuning
- Batched GEMM
- GEMM
- GPU computing
- HPC