Skip to main navigation Skip to search Skip to main content

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

  • National High Technology Center

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

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.

Original languageEnglish
Title of host publicationHigh Performance Computing - 10th Latin American Conference, CARLA 2023, Revised Selected Papers
EditorsCarlos J. Barrios H., Silvio Rizzi, Esteban Meneses, Esteban Mocskos, Jose M. Monsalve Diaz, Javier Montoya
PublisherSpringer Science and Business Media Deutschland GmbH
Pages3-20
Number of pages18
ISBN (Print)9783031521850
DOIs
StatePublished - 2024
Event10th Latin American Conference on High Performance Computing, CARLA 2023 - Cartagena, Colombia
Duration: 18 Sep 202322 Sep 2023

Publication series

NameCommunications in Computer and Information Science
Volume1887 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference10th Latin American Conference on High Performance Computing, CARLA 2023
Country/TerritoryColombia
CityCartagena
Period18/09/2322/09/23

Keywords

  • Graphics Processing Units
  • Parallel Programming
  • Parallel Python

Fingerprint

Dive into the research topics of 'Evaluation of Alternatives to Accelerate Scientific Numerical Calculations on Graphics Processing Units Using Python'. Together they form a unique fingerprint.

Cite this