1. Performance and Energy Efficiency of CUDA and OpenCL for GPU Computing Using Python
- Author
-
Håvard Heitlo Holm, Martin L. Sætra, and André R. Brodtkorb
- Subjects
CUDA ,Computer science ,Parallel computing ,ComputerSystemsOrganization_PROCESSORARCHITECTURES ,Software_PROGRAMMINGTECHNIQUES ,General-purpose computing on graphics processing units ,Python (programming language) ,computer ,ComputingMethodologies_COMPUTERGRAPHICS ,Efficient energy use ,computer.programming_language - Abstract
In this work, we examine the performance and energy efficiency when using Python for developing HPC codes running on the GPU. We investigate the portability of performance and energy efficiency between CUDA and OpenCL; between GPU generations; and between low-end, mid-range and high-end GPUs. Our findings show that for some combinations of GPU and GPU code, there is a significant speedup for CUDA over OpenCL, but that this does not hold in general. Our experiments show that performance in general varies more between different GPUs, than between using CUDA and OpenCL. Finally, we show that tuning for performance is a good way of tuning for energy efficiency.
- Published
- 2020
- Full Text
- View/download PDF