[Paper Review] An Evaluative Comparison of Performance Portability across GPU Programming Models
This paper evaluates performance portability across seven GPU programming models—CUDA, HIP, Kokkos, RAJA, OpenMP, OpenACC, and SYCL—using five scientific proxy applications on NVIDIA and AMD GPUs. It finds that SYCL offers the most consistent performance across architectures, while OpenACC and OpenMP show significant performance gaps on AMD systems, especially in reduction operations, and identifies key optimization strategies for improving portability.
Portability is critical to ensuring high productivity in developing and maintaining scientific software as the diversity in on-node hardware architectures increases. While several programming models provide portability for diverse GPU systems, they don't make any guarantees about performance portability. In this work, we explore several programming models -- CUDA, HIP, Kokkos, RAJA, OpenMP, OpenACC, and SYCL, to assess the consistency of their performance across NVIDIA and AMD GPUs. We use five proxy applications from different scientific domains, create implementations where missing, and use them to present a comprehensive comparative evaluation of the performance portability of these programming models. We provide a Spack scripting-based methodology to ensure reproducibility of experiments conducted in this work. Finally, we analyze the reasons for why some programming models underperform in certain scenarios and in some cases, present performance optimizations to the proxy applications.
Motivation & Objective
- To evaluate the performance portability of seven GPU programming models across diverse GPU architectures.
- To identify performance bottlenecks and inconsistencies in portable implementations on heterogeneous systems.
- To provide a reproducible, Spack-based methodology for future performance portability studies.
- To offer actionable insights for developers and framework designers to improve cross-architecture performance.
Proposed method
- Developed and implemented five domain-representative proxy applications across all seven programming models.
- Used a Spack-based scripting framework to ensure reproducibility and systematic deployment across systems.
- Conducted exhaustive benchmarking on leadership-class HPC systems with both NVIDIA and AMD GPUs.
- Applied targeted kernel optimizations to isolate and improve performance bottlenecks.
- Used harmonic mean of application efficiency (PPE) as a metric to quantify performance portability.
- Leveraged profiling tools to identify low-level performance issues such as register spilling and instruction-level inefficiencies.
Experimental results
Research questions
- RQ1How do different GPU programming models perform across NVIDIA and AMD GPU architectures in real scientific workloads?
- RQ2What are the primary causes of performance inconsistency across models and hardware platforms?
- RQ3Which programming models demonstrate the strongest performance portability, and why?
- RQ4What optimizations can significantly improve performance portability in portable code?
- RQ5How can reproducible, scalable experimentation frameworks be built for future performance portability studies?
Key findings
- SYCL demonstrated the highest performance portability, achieving a harmonic mean efficiency of 0.99 across all applications and systems.
- OpenACC and OpenMP showed significant performance degradation on AMD GPUs, particularly in reduction operations, with harmonic mean efficiencies below 0.6.
- RAJA and OpenMP exhibited poor reduction performance on AMD systems, indicating compiler or runtime limitations in handling parallel reductions.
- The miniBUDE kernel consistently underperformed across all models and systems due to high register pressure and compute-bound characteristics.
- Optimizations such as improved reduction handling and register pressure reduction significantly improved performance, especially for RAJA and OpenACC.
- Line-level stall attribution in profiling tools was identified as a critical missing capability, limiting effective optimization of portable code.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.