Exploring Numba and CuPy for GPU-Accelerated Monte Carlo Radiation Transport

Research output: Contribution to journalArticlepeer-review

Abstract

This paper examines the performance of two popular GPU programming platforms, Numba and CuPy, for Monte Carlo radiation transport calculations. We conducted tests involving random number generation and one-dimensional Monte Carlo radiation transport in plane-parallel geometry on three GPU cards: NVIDIA Tesla A100, Tesla V100, and GeForce RTX3080. We compared Numba and CuPy to each other and our CUDA C implementation. The results show that CUDA C, as expected, has the fastest performance and highest energy efficiency, while Numba offers comparable performance when data movement is minimal. While CuPy offers ease of implementation, it performs slower for compute-heavy tasks.

Original languageEnglish
Article number61
JournalComputation
Volume12
Issue number3
DOIs
Publication statusPublished - Mar 2024

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 7 - Affordable and Clean Energy
    SDG 7 Affordable and Clean Energy

Keywords

  • CUDA
  • CuPy
  • GPU
  • Numba
  • performance

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science
  • Modelling and Simulation
  • Applied Mathematics

Fingerprint

Dive into the research topics of 'Exploring Numba and CuPy for GPU-Accelerated Monte Carlo Radiation Transport'. Together they form a unique fingerprint.

Cite this