Sapporo2: A versatile direct $N$-body library
Jeroen B\'edorf, Evghenii Gaburov, Simon Portegies Zwart

TL;DR
Sapporo2 is a versatile, optimized GPU-accelerated N-body simulation library supporting multiple precisions, higher order integrators, and OpenCL, enabling efficient astrophysical simulations across various hardware.
Contribution
The paper introduces Sapporo2, a rebuilt, multi-platform N-body library with advanced features like multi-precision and higher order integrators, improving flexibility and performance.
Findings
Sapporo2 outperforms Sapporo1 in speed despite added features.
Supports a wide range of GPUs and CPUs with OpenCL compatibility.
Efficiently handles small N (<100) particle simulations.
Abstract
Astrophysical direct -body methods have been one of the first production algorithms to be implemented using NVIDIA's CUDA architecture. Now, almost seven years later, the GPU is the most used accelerator device in astronomy for simulating stellar systems. In this paper we present the implementation of the Sapporo2 -body library, which allows researchers to use the GPU for -body simulations with little to no effort. The first version, released five years ago, is actively used, but lacks advanced features and versatility in numerical precision and support for higher order integrators. In this updated version we have rebuilt the code from scratch and added support for OpenCL, multi-precision and higher order integrators. We show how to tune these codes for different GPU architectures and present how to continue utilizing the GPU optimal even when only a small number of particles…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParticle accelerators and beam dynamics · Scientific Research and Discoveries · Particle Accelerators and Free-Electron Lasers
