计算机科学 > 软件工程
[提交于 2013年4月19日]
标题:GPU Scripting and Code Generation with PyCUDA
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:High-level scripting languages are in many ways polar opposites to GPUs. GPUs are highly parallel, subject to hardware subtleties, and designed for maximum throughput, and they offer a tremendous advance in the performance achievable for a significant number of computational problems. On the other hand, scripting languages such as Python favor ease of use over computational speed and do not generally emphasize parallelism. PyCUDA is a package that attempts to join the two together. This chapter argues that in doing so, a programming environment is created that is greater than just the sum of its two parts. We would like to note that nearly all of this chapter applies in unmodified form to PyOpenCL, a sister project of PyCUDA, whose goal it is to realize the same concepts as PyCUDA for OpenCL.
提交历史
来自:Andreas Klöckner[v1] 2013年4月19日 星期五 21:36:25 UTC