From Merging Frameworks to Merging Stars: Experiences using HPX, Kokkos and SIMD Types

Gregor Daiß, Srinivas Yadav Singanaboina, Patrick Diehl, Hartmut Kaiser, Dirk Pflüger
9/26/2022
cs.DC

Official code: STEllAR-GROUP/octotiger (56 stars, C++, BSL-1.0, last commit 2026-11-17).

Abstract

Octo-Tiger, a large-scale 3D AMR code for the merger of stars, uses a combination of HPX, Kokkos and explicit SIMD types, aiming to achieve performance-portability for a broad range of heterogeneous hardware. However, on A64FX CPUs, we encountered several missing pieces, hindering performance by causing problems with the SIMD vectorization.

Show full abstract

Therefore, we add std::experimental::simd as an option to use in Octo-Tiger's Kokkos kernels alongside Kokkos SIMD, and further add a new SVE (Scalable Vector Extensions) SIMD backend. Additionally, we amend missing SIMD implementations in the Kokkos kernels within Octo-Tiger's hydro solver. We test our changes by running Octo-Tiger on three different CPUs: An A64FX, an Intel Icelake and an AMD EPYC CPU, evaluating SIMD speedup and node-level performance. We get a good SIMD speedup on the A64FX CPU, as well as noticeable speedups on the other two CPU platforms. However, we also experience a scaling issue on the EPYC CPU.

View on arXivView PDF

Code Implementations(1)

BSL-1.0

Astrophysics program simulating the evolution of star systems based on the fast multipole method on adaptive Octrees

5623C++, CMakeNov 12, 20162 weeks agoBSL-1.0
astrophysicscudacuda-kernelshpxkokkos+3 more

Similar Papers

Cite this paper

@article{dai2022from,
  title  = {From Merging Frameworks to Merging Stars: Experiences using HPX, Kokkos and SIMD Types},
  author = {Gregor Daiß and Srinivas Yadav Singanaboina and Patrick Diehl and Hartmut Kaiser and Dirk Pflüger},
  year   = {2022},
  eprint = {2210.06439},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.06439}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.06439.svg)](https://codeofpaper.com/paper/2210.06439)

Discussion