KIT | KIT-Bibliothek | Impressum | Datenschutz

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

Tsai, Yuhsiang M.; Cojean, Terry ORCID iD icon; Ribizel, Tobias; Anzt, Hartwig ORCID iD icon

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.


Volltext §
DOI: 10.5445/IR/1000131542
Veröffentlicht am 14.01.2022
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Angewandte und Numerische Mathematik (IANM)
Scientific Computing Center (SCC)
Universität Karlsruhe (TH) – Zentrale Einrichtungen (Zentrale Einrichtungen)
Publikationstyp Forschungsbericht/Preprint
Publikationsdatum 25.06.2020
Sprache Englisch
Identifikator KITopen-ID: 1000131542
HGF-Programm 46.11.01 (POF III, LK 01) Computational Science and Mathematical Methods
Nachgewiesen in arXiv
Relationen in KITopen
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page