GPU Computing with Python: Performance, Energy Efficiency and Usability
Authors:
Preprint
Abstract
In this work, we examine the performance, energy efficiency and usability 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 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 show 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.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Performance and Energy Efficiency Evaluation for HPC Applications in Heterogeneous Architectures2018
- Well-balanced schemes for the shallow water equations with Coriolis forcesNumerische Mathematik, 2017
- Machine learning‐based auto‐tuning for enhanced performance portability of OpenCL applicationsConcurrency and Computation: Practice and Experience, 2016
- Graphics processing unit (GPU) programming strategies and trends in GPU computingJournal of Parallel and Distributed Computing, 2013
- From CUDA to OpenCL: Towards a performance-portable solution for multi-platform GPU programmingParallel Computing, 2012
- PyCUDA and PyOpenCL: A scripting-based approach to GPU run-time code generationParallel Computing, 2012
- Efficient shallow water simulations on GPUs: Implementation, visualization, verification, and validationComputers & Fluids, 2012
- Simulation of one-layer shallow water systems on multicore and CUDA architecturesThe Journal of Supercomputing, 2010
- Matplotlib: A 2D Graphics EnvironmentComputing in Science & Engineering, 2007
- How to Solve Systems of Conservation Laws Numerically Using the Graphics Processor as a High-Performance Computational Engine2007