论文标题

为AMD GPU准备银杏 - 关于移植CUDA代码的推荐

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

论文作者

Tsai, Yuhsiang M., Cojean, Terry, Ribizel, Tobias, Anzt, Hartwig

论文摘要

随着AMD在科学高性能计算生态系统中加强了他们的野心,我们将银杏线性代数软件包的硬件范围扩展到了AMD GPU的髋关节后端。在本文中,我们报告并讨论了CUDA的移植工作,髋关节框架的扩展是添加缺失的功能,例如合作组,为AMD架构编译髋关节代码的性能价格以及为NVIDIA和AMD GPU提供本机后端的图书馆设计,同时通过使用共享代码基础来最大程度地减少代码基础。

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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源