Abstract
Dense linear algebra (DLA) has historically been in the vanguard of software that must be adapted first to hardware changes. This is because DLA is both critical to the accuracy and performance of so many different types of applications, and because they have proved to be outstanding vehicles for finding and implementing solutions to the problems that novel architectures pose. Therefore, in this paper we investigate the portability of the MAGMA DLA library to the latest AMD GPUs. We use auto tools to convert the CUDA code in MAGMA to the Heterogeneous-Computing Interface for Portability (HIP) language. MAGMA provides LAPACK for GPUs and benchmarks for fundamental DLA routines ranging from BLAS to dense factorizations, linear systems and eigen-problem solvers. We port these routines to HIP and quantify currently achievable performance through the MAGMA benchmarks for the main workload algorithms on MI25 and MI50 AMD GPUs. Comparison with performance roofline models and theoretical expectations are used to identify current limitations and directions for future improvements.
| Original language | English |
|---|---|
| Title of host publication | 2020 IEEE High Performance Extreme Computing Conference, HPEC 2020 |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| ISBN (Electronic) | 9781728192192 |
| DOIs | |
| State | Published - Sep 22 2020 |
| Externally published | Yes |
| Event | 2020 IEEE High Performance Extreme Computing Conference, HPEC 2020 - Virtual, Waltham, United States Duration: Sep 21 2020 → Sep 25 2020 |
Publication series
| Name | 2020 IEEE High Performance Extreme Computing Conference, HPEC 2020 |
|---|
Conference
| Conference | 2020 IEEE High Performance Extreme Computing Conference, HPEC 2020 |
|---|---|
| Country/Territory | United States |
| City | Virtual, Waltham |
| Period | 09/21/20 → 09/25/20 |
Funding
This research was supported by AMD and the Exascale Computing Project (ECP), Project Number: 17-SC-20-SC, a collaborative effort of two DOE organizations (the Office of Science and the National Nuclear Security Administration) responsible for the planning and preparation of a capable ex-ascale ecosystem, including software, applications, hardware, advanced system engineering, and early testbed platforms, in support of the nation’s exascale computing imperative.
Keywords
- AMD GPUs
- GPU Computing
- HIP Runtime
- HPC
- Numerical Linear Algebra
- Portability