elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Imprint | Privacy Policy | Accessibility | Contact | Deutsch
Fontsize: [-] Text [+]

Performance engineering for real and complex tall & skinny matrix multiplication kernels on GPUs

Ernst, Dominik and Hager, Georg and Thies, Jonas and Wellein, Gerhard (2020) Performance engineering for real and complex tall & skinny matrix multiplication kernels on GPUs. International Journal on High Performance Computing Applications. SAGE Publications. doi: 10.1177/1094342020965661. ISSN 1094-3420.

[img] PDF - Published version
1MB

Official URL: https://journals.sagepub.com/doi/10.1177/1094342020965661

Abstract

General matrix-matrix multiplications with double-precision real and complex entries (DGEMM and ZGEMM) in vendor-supplied BLAS libraries are best optimized for square matrices but often show bad performance for tall & skinny matrices, which are much taller than wide. NVIDIA’s current CUBLAS implementation delivers only a fraction of the potential performance as indicated by the roofline model in this case. We describe the challenges and key characteristics of an implementation that can achieve close to optimal performance. We further evaluate different strategies of parallelization and thread distribution and devise a flexible, configurable mapping scheme. To ensure flexibility and allow for highly tailored implementations we use code generation combined with autotuning. For a large range of matrix sizes in the domain of interest we achieve at least 2/3 of the roofline performance and often substantially outperform state-of-the art CUBLAS results on an NVIDIA Volta GPGPU.

Item URL in elib:https://elib.dlr.de/137944/
Document Type:Article
Title:Performance engineering for real and complex tall & skinny matrix multiplication kernels on GPUs
Authors:
AuthorsInstitution or Email of AuthorsAuthor's ORCID iDORCID Put Code
Ernst, DominikDominik.Ernst (at) fau.deUNSPECIFIEDUNSPECIFIED
Hager, GeorgErlangen Regional Computing CenterUNSPECIFIEDUNSPECIFIED
Thies, JonasJonas.Thies (at) dlr.deUNSPECIFIEDUNSPECIFIED
Wellein, GerhardErlangen Regional Computing CenterUNSPECIFIEDUNSPECIFIED
Date:October 2020
Journal or Publication Title:International Journal on High Performance Computing Applications
Refereed publication:Yes
Open Access:Yes
Gold Open Access:No
In SCOPUS:Yes
In ISI Web of Science:Yes
DOI:10.1177/1094342020965661
Publisher:SAGE Publications
ISSN:1094-3420
Status:Published
Keywords:Performance engineering, complex, tall & skinny, matrix multiplication, CUDA, GPU
HGF - Research field:Aeronautics, Space and Transport
HGF - Program:Space
HGF - Program Themes:Space System Technology
DLR - Research area:Raumfahrt
DLR - Program:R SY - Space System Technology
DLR - Research theme (Project):R - Vorhaben SISTEC (old)
Location: Köln-Porz
Institutes and Institutions:Institut of Simulation and Software Technology
Deposited By: Thies, Jonas
Deposited On:24 Nov 2020 13:44
Last Modified:17 Dec 2020 08:21

Repository Staff Only: item control page

Browse
Search
Help & Contact
Information
OpenAIRE Validator logo electronic library is running on EPrints
Website and database design: Copyright © German Aerospace Center (DLR). All rights reserved.