Preparing Ginkgo for AMD GPUs – A Testimonial on Porting CUDA Code to HIP
- 14 March 2021
- book chapter
- Published by Springer Nature
- Vol. 12480, 109-121
Abstract
With AMD reinforcing their ambition in the scientific high performance computing ecosystem, we extend the hardware scope of the Ginkgo linear algebra package to feature a HIP backend for AMD GPUs. In this paper, we report and discuss the porting effort from CUDA, the extension of the HIP framework to add missing features such as cooperative groups, the performance price of compiling HIP code for AMD architectures, and the design of a library providing native backends for NVIDIA and AMD GPUs while minimizing code duplication by using a shared code base.Keywords
All Related Versions
This publication has 5 references indexed in Scilit:
- Porting CUDA-Based Molecular Dynamics Algorithms to AMD ROCm Platform Using HIP Framework: Performance Analysis2019
- Optimization of a Solver for Computational Materials and Structures Problems on NVIDIA Volta and AMD Instinct GPUs2019
- Evaluating Performance Tradeoffs on the Radeon Open Compute Platform2018
- Adaptive precision in block‐Jacobi preconditioning for iterative sparse linear system solversConcurrency and Computation: Practice and Experience, 2018
- The Scalable Heterogeneous Computing (SHOC) benchmark suite2010