<tt>GPUmonty</tt> : A GPU-accelerated Relativistic Monte Carlo Radiative Transfer Code

Abstract We introduce GPUmonty , a CUDA/C-based Monte Carlo radiative transfer code accelerated using graphics processing units (GPUs). GPUmonty derives from the CPU-based code grmonty and offloads the most computationally expensive stages of the calculation—superphoton generation, sampling, tracking, and scattering—to the GPU. Whereas grmonty handles photons sequentially, GPUmonty processes large numbers of superphotons concurrently, leveraging the single-instruction, multiple-thread execution model of modern GPUs. Benchmarks demonstrate a speedup of about 12× relative to the original CPU implementation on a single GPU, with runtime limited primarily by register pressure rather than compute or memory bandwidth saturation. We validate the implementation through analytic tests for a optically thin synchrotron sphere, as well as comparisons with igrmonty for scattering synchrotron sphere and general relativistic magnetohydrodynamic simulation data. Relative errors remain below a percent level, and convergence is consistent with the expected <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> <mml:msubsup> <mml:mrow> <mml:mi>N</mml:mi> </mml:mrow> <mml:mrow> <mml:mi mathvariant="normal">s</mml:mi> </mml:mrow> <mml:mrow> <mml:mo>−</mml:mo> <mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:mn>2</mml:mn> </mml:mrow> </mml:msubsup> </mml:math> Monte Carlo scaling. By significantly reducing computational costs, GPUmonty enables the extensive parameter space surveys and faster spectra modeling required to interpret horizon-scale observations of supermassive black holes. GPUmonty is publicly available under the GNU (GNU's Not Unix) General Public License.

Authors

Institutions

Publication Details

Journal
The Astrophysical Journal
Published
2026-04-14
DOI
https://doi.org/10.3847/1538-4357/ae5631
Primary Topic
Particle Accelerators and Free-Electron Lasers
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

<tt>GPUmonty</tt> : A GPU-accelerated Relativistic Monte Carlo Radiative Transfer Code

Rodrigo Nemmen, Abhishek V. Joshi, Pedro Naethe Motta
The Astrophysical Journal
Particle Accelerators and Free-Electron Lasers
article

<tt>GPUmonty</tt> : A GPU-accelerated Relativistic Monte Carlo Radiative Transfer Code

Rodrigo Nemmen, Abhishek V. Joshi, Pedro Naethe Motta
article en

Abstract

Abstract We introduce GPUmonty , a CUDA/C-based Monte Carlo radiative transfer code accelerated using graphics processing units (GPUs). GPUmonty derives from the CPU-based code grmonty and offloads the most computationally expensive stages of the calculation—superphoton generation, sampling, tracking, and scattering—to the GPU. Whereas grmonty handles photons sequentially, GPUmonty processes large numbers of superphotons concurrently, leveraging the single-instruction, multiple-thread execution model of modern GPUs. Benchmarks demonstrate a speedup of about 12× relative to the original CPU implementation on a single GPU, with runtime limited primarily by register pressure rather than compute or memory bandwidth saturation. We validate the implementation through analytic tests for a optically thin synchrotron sphere, as well as comparisons with igrmonty for scattering synchrotron sphere and general relativistic magnetohydrodynamic simulation data. Relative errors remain below a percent level, and convergence is consistent with the expected <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> <mml:msubsup> <mml:mrow> <mml:mi>N</mml:mi> </mml:mrow> <mml:mrow> <mml:mi mathvariant="normal">s</mml:mi> </mml:mrow> <mml:mrow> <mml:mo>−</mml:mo> <mml:mn>1</mml:mn> <mml:mo>/</mml:mo> <mml:mn>2</mml:mn> </mml:mrow> </mml:msubsup> </mml:math> Monte Carlo scaling. By significantly reducing computational costs, GPUmonty enables the extensive parameter space surveys and faster spectra modeling required to interpret horizon-scale observations of supermassive black holes. GPUmonty is publicly available under the GNU (GNU's Not Unix) General Public License.

The Astrophysical JournalVol. 1001(2)
University of Illinois Urbana-Champaign (US), Instituto de Geofísica y Astronomía (CU)
National Science Foundation, National Centre for Supercomputing Applications, Fundação de Amparo à Pesquisa do Estado de São Paulo, Conselho Nacional de Desenvolvimento Científico e Tecnológico, Office of Advanced Cyberinfrastructure, Los Alamos National Laboratory
Openalex Percentile: Top 27%
Particle Accelerators and Free-Electron Lasers
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.