Speeding up the GENGA N-body integrator on consumer-grade graphics cards
R. Brasser, S. L. Grimm, P. Hatalova, J. G. Stadel

TL;DR
This paper demonstrates that modifying the GENGA N-body integrator to compute long-distance forces in single precision on consumer-grade GPUs significantly accelerates simulations with minimal impact on accuracy, offering performance and environmental benefits.
Contribution
The authors adapt GENGA to use FP32 for long-range forces on consumer GPUs, achieving a threefold speedup with negligible accuracy loss compared to FP64.
Findings
FP32 forces yield similar energy conservation as FP64.
Simulation speed increases by a factor of three on consumer GPUs.
Energy consumption is reduced with FP32 computation.
Abstract
GPU computing is popular due to the calculation potential of a single card. The N-body integrator GENGA is built to for this, but it suffers a performance penalty on consumer-grade GPUs due to their truncated double precision (FP64) performance. We aim to speed up GENGA on consumer-grade cards by harvesting their high single-precision performance (FP32). We modified GENGA to be able to compute the long-distance forces between bodies in FP32 precision and tested this with 5 experiments. We ran simulations with similar initial conditions of 6600 planetesimals in both FP32 and FP64 precision. We also ran simulations that i) began with a mixture of planetesimals and planetary embryos, ii) planetesimal-driven giant planet migration, and iii) terrestrial planet formation with a gas disc. Second, we ran the same simulation beginning with 40 000 planetesimals using both FP32 and FP64 precision…
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
TopicsSpacecraft and Cryogenic Technologies · Parallel Computing and Optimization Techniques · Stellar, planetary, and galactic studies
