About

Log in?

DTU users get better search results including licensed content and discounts on order fees.

Anyone can log in and get personalized features such as favorites, tags and feeds.

Log in as DTU user Log in as non-DTU user No thanks

DTU Findit

Conference paper

Feasibility Studies in Multi-GPU Target Offloading

From

Technical University of Denmark1

Department of Applied Mathematics and Computer Science, Technical University of Denmark2

Embedded Systems Engineering, Department of Applied Mathematics and Computer Science, Technical University of Denmark3

Many of the largest supercomputers are based on heterogeneous architectures with multiple general-purpose graphics processing units (GPGPUs) per compute node. While many APIs for GPU programming are vendor-specific, OpenMP offers a portable alternative. Therefore OpenMP target offloading is advantageous in terms of long-term code sustainability.

Further, many applications have already been parallelized with OpenMP. Hence the amount of work needed to port the code to GPUs may be limited. However, the support for the OpenMP 5.x specification is not equally mature across different compilers. Additionally, the multi-GPU support in the OpenMP 5.x specification is limited.

We explore what is possible with the Nvidia NVC compiler. We present a case study of solving the Poisson equation on multiple GPGPUs to outline which approaches for multi-target offloading give good results. We find that a task-based multi-GPU implementation leads to better performance than generating deferrable tasks with the clause.

We demonstrate that data transfers and computations can be fully overlapped by using only the subset of the OpenMP specifications, which is supported in the 22.3 release of the Nvidia NVC compiler. For compute nodes with multiple Nvidia A100 or V100, we obtain close to ideal strong scaling when increasing the number of accelerators.

Language: English
Publisher: Springer
Year: 2022
Pages: 81-93
Proceedings: 18<sup>th</sup> International Workshop on OpenMP
Series: Lecture Notes in Computer Science (including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Journal subtitle: From Multi-device Support To Meta Programming - 18th International Workshop on Openmp, Iwomp 2022, Proceedings
ISBN: 3031159217 , 3031159225 , 9783031159213 and 9783031159220
ISSN: 03029743
Types: Conference paper
DOI: 10.1007/978-3-031-15922-0_6
ORCIDs: Gammelmark, Mathias and Karlsson, Sven

DTU users get better search results including licensed content and discounts on order fees.

Log in as DTU user

Access

Analysis