GPU Computing with Python: Performance, Energy Efficiency and Usability
Journal article, Peer reviewed
Published version
Permanent lenke
https://hdl.handle.net/10642/8268Utgivelsesdato
2020-01-06Metadata
Vis full innførselSamlinger
Originalversjon
Holm HH, Brodtkorb A, Sætra ML. GPU Computing with Python: Performance, Energy Efficiency and Usability. Computation. 2020 https://dx.doi.org/10.3390/computation8010004Sammendrag
In this work, we examine the performance, energy efficiency, and usability when using Python for developing high-performance computing codes running on the graphics processing unit (GPU). We investigate the portability of performance and energy efficiency between Compute Unified Device Architecture (CUDA) and Open Compute Language (OpenCL); between GPU generations; and between low-end, mid-range, and high-end GPUs. Our findings showed that the impact of using Python is negligible for our applications, and furthermore, CUDA and OpenCL applications tuned to an equivalent level can in many cases obtain the same computational performance. Our experiments showed that performance in general varies more between different GPUs than between using CUDA and OpenCL. We also show that tuning for performance is a good way of tuning for energy efficiency, but that specific tuning is needed to obtain optimal energy efficiency.