A GPU parallelization of the neXtSIM-DG dynamical core (v0.3.1)
Abstract. The cryosphere plays a crucial role in the Earth's climate system, making accurate sea-ice simulation essential for improving climate projections. To achieve higher-resolution simulations, graphics processing units (GPUs) have become increasingly appealing due to their higher floating-point peak performance compared to central processing units (CPUs). However, harnessing the full theoretical performance of GPUs often requires significant effort in redesigning algorithms and careful implementation. Recently, several frameworks have emerged that aim to simplify general-purpose GPU programming. In this study, we evaluate multiple such frameworks, including CUDA, SYCL, Kokkos, and PyTorch, for the parallelization of neXtSIM-DG, a finite-element-based dynamical core for sea ice. Based on our assessment of usability and performance, CUDA demonstrates the best performance while Kokkos is a suitable option for its robust heterogeneous computing capabilities. Our complete implementation of the momentum equation using Kokkos achieves a 6-fold speedup on the GPU compared to our OpenMP-based CPU code, while maintaining competitiveness when run on the CPU. Additionally, we explore the use of lower-precision floating-point types on the GPU, showing that switching to single precision can further accelerate sea-ice codes.
Authors
- Christian Lessig (ORCID: https://orcid.org/0000-0002-2740-6815)
- Robert Jendersie (ORCID: https://orcid.org/0000-0001-8693-0222)
- Thomas Richter (ORCID: https://orcid.org/0000-0003-0206-3606)
Institutions
- Otto-von-Guericke-Universität Magdeburg (DE)
Publication Details
- Journal
- Geoscientific model development
- Published
- 2025-05-26
- DOI
- https://doi.org/10.5194/gmd-18-3017-2025
- Citations
- 1
- Primary Topic
- Meteorological Phenomena and Simulations
- Type
- article
- Field-Weighted Citation Impact
- 1.30
Funders
- China Scholarship Council
- Gauss Centre for Supercomputing