Evaluation of Alternatives to Accelerate Scientific Numerical Calculations on Graphics Processing Units Using Python

Johansell Villalobos, Esteban Meneses

Producción científica: Capítulo del libro/informe/acta de congresoContribución a la conferenciarevisión exhaustiva

Resumen

In this paper, the Numba, JAX, CuPy, PyTorch, and TensorFlow Python GPU accelerated libraries were benchmarked using scientific numerical kernels on a NVIDIA V100 GPU. The benchmarks consisted of a simple Monte Carlo estimation, a particle interaction kernel, a stencil evolution of an array, and tensor operations. The benchmarking procedure included general memory consumption measurements, a statistical analysis of scalability with problem size to determine the best libraries for the benchmarks, and a productivity measurement using source lines of code (SLOC) as a metric. It was statistically determined that the Numba library outperforms the rest on the Monte Carlo, particle interaction, and stencil benchmarks. The deep learning libraries show better performance on tensor operations. The SLOC count was similar for all the libraries except Numba which presented a higher SLOC count which implies more time is needed for code development.

Idioma originalInglés
Título de la publicación alojadaHigh Performance Computing - 10th Latin American Conference, CARLA 2023, Revised Selected Papers
EditoresCarlos J. Barrios H., Silvio Rizzi, Esteban Meneses, Esteban Mocskos, Jose M. Monsalve Diaz, Javier Montoya
EditorialSpringer Science and Business Media Deutschland GmbH
Páginas3-20
Número de páginas18
ISBN (versión impresa)9783031521850
DOI
EstadoPublicada - 2024
Evento10th Latin American Conference on High Performance Computing, CARLA 2023 - Cartagena, Colombia
Duración: 18 sept 202322 sept 2023

Serie de la publicación

NombreCommunications in Computer and Information Science
Volumen1887 CCIS
ISSN (versión impresa)1865-0929
ISSN (versión digital)1865-0937

Conferencia

Conferencia10th Latin American Conference on High Performance Computing, CARLA 2023
País/TerritorioColombia
CiudadCartagena
Período18/09/2322/09/23

Huella

Profundice en los temas de investigación de 'Evaluation of Alternatives to Accelerate Scientific Numerical Calculations on Graphics Processing Units Using Python'. En conjunto forman una huella única.

Citar esto