arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.02607cs.DC
收藏

GPU使用Python进行计算:性能、能效和可用性

GPU Computing with Python: Performance, Energy Efficiency and Usability

Håvard H. Holm, André R. Brodtkorb, Martin L. Sætra

摘要:

在这项工作中,我们研究了使用Python开发在GPU上运行的HPC代码时的性能,能效和可用性。我们调查了CUDA和OpenCL之间的性能和能效的可移植性; GPU之间的世代;以及低端,中端和高端GPU之间的可移植性。我们的研究结果表明,使用Python对我们的应用程序的影响可以忽略不计,此外,CUDA和OpenCL应用程序调整到同等水平,在许多情况下可以获得相同的计算性能。我们的实验表明,一般来说,不同GPU之间的性能差异比使用CUDA和OpenCL之间的差异更大。我们还表明,调整性能是一个很好的方式调整能源效率,但具体的调整需要获得最佳的能源效率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑