论文标题
表达加速度:打字高级语言的无缝并行化
Expression Acceleration: Seamless Parallelization of Typed High-Level Languages
论文作者
论文摘要
在当今许多领域,算法在通用GPU上的有效并行化是必不可少的。但是,软件工程师使用GPU来提高高级程序的性能是一项非凡的任务。尽管许多特定于域的方法可用于GPU加速,但很难在不使用低级GPU代码重写程序中加速现有的高级程序。我们使用一种称为表达加速度的替代方法提出了编译器实施。这种方法标志着加速度的表达式,并且编译器自动不需要加速代码。我们设计并实施了支持静态拼写功能语言表达加速的编译器,并评估其适用性和性能。
Efficient parallelization of algorithms on general-purpose GPUs is essential in many areas today. However, it is a non-trivial task for software engineers to utilize GPUs to improve the performance of high-level programs in general. Although many domain-specific approaches are available for GPU acceleration, it is difficult to accelerate existing high-level programs without rewriting parts of the programs using low-level GPU code. We present a compiler implementation using an alternative approach called expression acceleration. This approach marks expressions for acceleration, and the compiler automatically infers which dependent code needs to be accelerated. We design and implement a compiler supporting expression acceleration for a statically typed functional language and evaluate its applicability and performance.