Back to Search Start Over

Preparing Ginkgo for AMD GPUs – A Testimonial on Porting CUDA Code to HIP

Authors :
Tsai, Yuhsiang M.
Cojean, Terry
Ribizel, Tobias
Anzt, Hartwig
Source :
Euro-Par 2020: Parallel Processing Workshops
Publication Year :
2021

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.<br />Preprint submitted to HeteroPar

Details

Language :
English
Volume :
12480
Database :
OpenAIRE
Journal :
Euro-Par 2020: Parallel Processing Workshops
Accession number :
edsair.doi.dedup.....15d626e331dfa9b688760f6e7f817b32