21904

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

Yuhsiang M. Tsai, Terry Cojean, Tobias Ribizel, Hartwig Anzt
Karlsruhe Institute of Technology, Karlsruhe, Germany
arXiv:2006.14290 [cs.MS], (25 Jun 2020)

@misc{tsai2020preparing,

   title={Preparing Ginkgo for AMD GPUs — A Testimonial on Porting CUDA Code to HIP},

   author={Yuhsiang M. Tsai and Terry Cojean and Tobias Ribizel and Hartwig Anzt},

   year={2020},

   eprint={2006.14290},

   archivePrefix={arXiv},

   primaryClass={cs.MS}

}

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.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2020 hgpu.org

All rights belong to the respective authors

Contact us: