An Evaluative Comparison of Performance Portability across GPU Programming Models
Authors:
Preprint
Abstract
Ensuring high productivity in scientific software development necessitates developing and maintaining a single codebase that can run efficiently on a range of accelerator-based supercomputing platforms. While prior work has investigated the performance portability of a few selected proxy applications or programming models, this paper provides a comprehensive study of a range of proxy applications implemented in the major programming models suitable for GPU-based platforms. We present and analyze performance results across NVIDIA and AMD GPU hardware currently deployed in leadership-class computing facilities using a representative range of scientific codes and several programming models -- CUDA, HIP, Kokkos, RAJA, OpenMP, OpenACC, and SYCL. Based on the specific characteristics of applications tested, we include recommendations to developers on how to choose the right programming model for their code. We find that Kokkos and RAJA in particular offer the most promise empirically as performance portable programming models. These results provide a comprehensive evaluation of the extent to which each programming model for heterogeneous systems provides true performance portability in real-world usage.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- A comparison of two performance portability metricsConcurrency and Computation: Practice and Experience, 2023
- Navigating Performance, Portability, and ProductivityComputing in Science & Engineering, 2021
- Kokkos 3: Programming Model Extensions for the Exascale EraIEEE Transactions on Parallel and Distributed Systems, 2021
- Umpire: Application-focused management and coordination of complex hierarchical memoryIBM Journal of Research and Development, 2020
- Productivity, performance, and portability for computational fluid dynamics applicationsComputers & Fluids, 2020
- Evaluation of performance portability frameworks for the implementation of a particle‐in‐cell codeConcurrency and Computation: Practice and Experience, 2019
- Performance Portability across Diverse Computer Architectures2019
- High-Performance Molecular Dynamics Simulation for Biological and Materials Sciences: Challenges of Performance Portability2018
- Assessing the performance portability of modern parallel programming models using TeaLeafConcurrency and Computation: Practice and Experience, 2017
- The Spack package manager2015