Demiralp, Ali CanKrüger, MarcelChao, ChuKuhlen, Torsten W.Gerrits, TimBender, JanBotsch, MarioKeim, Daniel A.2022-09-262022-09-262022978-3-03868-189-2https://doi.org/10.2312/vmv.20221208https://diglib.eg.org:443/handle/10.2312/vmv20221208Geodesic ray tracing is the numerical method to compute the motion of matter and radiation in spacetime. It enables visualization of the geometry of spacetime and is an important tool to study the gravitational fields in the presence of astrophysical phenomena such as black holes. Although the method is largely established, solving the geodesic equation remains a computationally demanding task. In this work, we present Astray; a high-performance geodesic ray tracing library capable of running on a single or a cluster of computers equipped with compute or graphics processing units. The library is able to visualize any spacetime given its metric tensor and contains optimized implementations of a wide range of spacetimes, including commonly studied ones such as Schwarzschild and Kerr. The performance of the library is evaluated on standard consumer hardware as well as a compute cluster through strong and weak scaling benchmarks. The results indicate that the system is capable of reaching interactive frame rates with increasing use of high-performance computing resources. We further introduce a user interface capable of remote rendering on a cluster for interactive visualization of spacetimes.Attribution 4.0 International LicenseCCS Concepts: Applied computing --> Physics; Computing methodologies --> Ray tracing; Parallel algorithms; Human-centered computing --> Scientific visualizationApplied computingPhysicsComputing methodologiesRay tracingParallel algorithmsHuman centered computingScientific visualizationAstray: A Performance-Portable Geodesic Ray Tracer10.2312/vmv.2022120891-988 pages