• Home
  • Search
  • Experience Report: Writing a Portable GPU Runtime with OpenMP 5.1
  • Open Access IconOpen Access
  • Cite Icon23
  • https://doi.org/10.1007/978-3-030-85262-7_11Copy DOI Icon

Experience Report: Writing a Portable GPU Runtime with OpenMP 5.1

  • Jan 1, 2021
  • Shilei Tian +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

GPU runtimes are historically implemented in CUDA or other vendor specific languages dedicated to GPU programming. In this work we show that OpenMP 5.1, with minor compiler extensions, is capable of replacing existing solutions without a performance penalty. The result is a performant and portable GPU runtime that can be compiled with LLVM/Clang to Nvidia and AMD GPUs without the need for CUDA or HIP during its development and compilation. While we tried to be OpenMP compliant, we identified the need for compiler extensions to achieve the CUDA performance with our OpenMP runtime. We hope that future versions of OpenMP adopt our extensions to make device programming in OpenMP also portable across compilers, not only across execution platforms. The library we ported to OpenMP is the OpenMP device runtime that provides OpenMP functionality on the GPU. This work opens the door for shipping OpenMP offloading with a Linux distribution's LLVM package as the package manager would not need a vendor SDK to build the compiler and runtimes. Furthermore, our OpenMP device runtime can support a new GPU target through the use of a few compiler intrinsics rather than requiring a reimplementation of the entire runtime.

Similar Papers
  • Research Article
  • Citations20

New capabilities of the Monte Carlo dose engine ARCHER-RT: Clinical validation of the Varian TrueBeam machine for VMAT external beam radiotherapy.

  • Apr 13, 2020
  • Medical Physics
  • David P Adam +4
  • Book Chapter
  • Citations10

Evaluating Performance Portability of OpenMP for SNAP on NVIDIA, Intel, and AMD GPUs Using the Roofline Methodology

  • Jan 01, 2021
  • Neil A Mehta +4
  • Conference Article
  • Citations1

Fast Merge Tree Computation via SYCL

  • Oct 01, 2022
  • Arnur Nigmetov +1
  • Conference Article
  • Citations5

MetaMorph: A Library Framework for Interoperable Kernels on Multi- and Many-Core Clusters

  • Nov 01, 2016
  • Ahmed E Helal +3
  • Conference Article
  • Citations22

In-Place Data Sliding Algorithms for Many-Core Architectures

  • Sep 01, 2015
  • Juan Gomez Luna +4
  • Conference Article
  • Citations21

First Experiences in Performance Benchmarking with the New SPEChpc 2021 Suites

  • May 01, 2022
  • Holger Brunst +9
  • Book Chapter
  • Citations19

Sparse Linear Algebra on AMD and NVIDIA GPUs – The Race Is On

  • Jan 01, 2020
  • High Performance Computing
  • Yuhsiang M Tsai +2
  • Conference Article
  • Citations8

Taking GPU Programming Models to Task for Performance Portability

  • Jun 08, 2025
  • arXiv (Cornell University)
  • Joshua Hoke Davis +7
  • Research Article
  • Citations4

Software stewardship and advancement of a high-performance computing scientific application: QMCPACK

  • Aug 31, 2024
  • Future Generation Computer Systems
  • William F Godoy +9
  • Research Article
  • Citations7

Single‐ and multi‐GPU computing on NVIDIA‐ and AMD‐based server platforms for solidification modeling application

  • Dec 27, 2023
  • Concurrency and Computation: Practice and Experience
  • Kamil Halbiniak +2
  • Book Chapter
  • Citations9

Configuring Concurrent Computation of Phylogenetic Partial Likelihoods: Accelerating Analyses Using the BEAGLE Library

  • Jan 01, 2017
  • Daniel L Ayres +1
  • Research Article
  • Citations19

SPIN

  • May 31, 2018
  • ACM Transactions on Computer Systems
  • Shai Bergman +3
  • Conference Article
  • Citations4

Blockchain Based Distributed Package Management Architecture

  • Sep 01, 2020
  • M Numan Ince +2
  • Conference Article

Pacloud

  • Oct 08, 2019
  • Olivier Bal-Pétré +2
  • Research Article
  • Citations4

Enabling Parallel Performance and Portability of Solid Mechanics Simulations Across CPU and GPU Architectures

  • Nov 07, 2024
  • Information
  • Nathaniel Morgan +12
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.