M Wille
Efficient GPU Offloading with OpenMP for a Hyperbolic Finite Volume Solver on Dynamically Adaptive Meshes
Wille, M; Weinzierl, T; Brito Gadeschi, G; Bader, M
Authors
Contributors
A. Bhatele
Editor
J. Hammond
Editor
M. Baboulin
Editor
C. Kruse
Editor
Abstract
We identify and show how to overcome an OpenMP bottleneck in the administration of GPU memory. It arises for a wave equation solver on dynamically adaptive block-structured Cartesian meshes, which keeps all CPU threads busy and allows all of them to offload sets of patches to the GPU. Our studies show that multithreaded, concurrent, non-deterministic access to the GPU leads to performance breakdowns, since the GPU memory bookkeeping as offered through OpenMP’s map clause, i.e., the allocation and freeing, becomes another runtime challenge besides expensive data transfer and actual computation. We, therefore, propose to retain the memory management responsibility on the host: A caching mechanism acquires memory on the accelerator for all CPU threads, keeps hold of this memory and hands it out to the offloading threads upon demand. We show that this user-managed, CPU-based memory administration helps us to overcome the GPU memory bookkeeping bottleneck and speeds up the time-to-solution of Finite Volume kernels by more than an order of magnitude.
Citation
Wille, M., Weinzierl, T., Brito Gadeschi, G., & Bader, M. (2023, December). Efficient GPU Offloading with OpenMP for a Hyperbolic Finite Volume Solver on Dynamically Adaptive Meshes. Presented at ISC High Performance 2023, Hamburg
Presentation Conference Type | Conference Paper (Published) |
---|---|
Conference Name | ISC High Performance 2023 |
Acceptance Date | Feb 25, 2023 |
Online Publication Date | May 10, 2023 |
Publication Date | 2023 |
Deposit Date | Mar 8, 2023 |
Publicly Available Date | Jun 6, 2023 |
Print ISSN | 0302-9743 |
Publisher | Springer Verlag |
Volume | 13948 |
Pages | 65-85 |
Series Title | Lecture Notes in Computer Science |
Series ISSN | 0302-9743 |
Book Title | High Performance Computing. ISC High Performance 2023. |
ISBN | 9783031320408 |
DOI | https://doi.org/10.1007/978-3-031-32041-5_4 |
Public URL | https://durham-repository.worktribe.com/output/1134318 |
Files
Published Conference Proceeding
(891 Kb)
PDF
Publisher Licence URL
http://creativecommons.org/licenses/by/4.0/
Copyright Statement
This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
You might also like
Upscaling ExaHyPE – on each and every core
(2023)
Report
Principles of Parallel Scientific Computing
(2022)
Book
Downloadable Citations
About Durham Research Online (DRO)
Administrator e-mail: dro.admin@durham.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2024
Advanced Search