GPU Computing with Python: Performance, Energy Efficiency and Usability
Journal article, Peer reviewed
Published version
View/ Open
Date
2020Metadata
Show full item recordCollections
- Institutt for matematiske fag [2550]
- Publikasjoner fra CRIStin - NTNU [38669]
Original version
http://dx.doi.org/10.3390/computation8010004Abstract
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.