Back to Search
Start Over
Exploring Numba and CuPy for GPU-Accelerated Monte Carlo Radiation Transport
- Source :
- Computation, Vol 12, Iss 3, p 61 (2024)
- Publication Year :
- 2024
- Publisher :
- MDPI AG, 2024.
-
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.
- Subjects :
- GPU
CUDA
Numba
CuPy
performance
Electronic computers. Computer science
QA75.5-76.95
Subjects
Details
- Language :
- English
- ISSN :
- 20793197
- Volume :
- 12
- Issue :
- 3
- Database :
- Directory of Open Access Journals
- Journal :
- Computation
- Publication Type :
- Academic Journal
- Accession number :
- edsdoj.9efcb0d4dc14f008fd7ca0eb803d8e7
- Document Type :
- article
- Full Text :
- https://doi.org/10.3390/computation12030061