arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2007.01277cs.DCcs.PL
收藏

GPU核的自动水平融合

Automatic Horizontal Fusion for GPU Kernels

Ao Li, Bojian Zheng, Gennady Pekhimenko, Fan Long

摘要:

我们提出了自动水平融合,一种新的优化技术,补充了GPU程序的标准内核融合技术。与标准融合的目标是消除中间数据往返不同,我们的水平融合技术旨在增加线程级并行性以隐藏指令延迟。我们还介绍了HFuse,一个新的源到源CUDA编译器,实现自动水平融合。实验结果表明,水平融合可以使运行时间提高2.5%-60.8%。我们的研究结果表明,水平融合对于将内核与需要不同类型GPU资源的指令(例如,存储器密集型内核和计算密集型内核)。

英文摘要:

We present automatic horizontal fusion, a novel optimization technique that complements the standard kernel fusion techniques for GPU programs. Unlike the standard fusion, whose goal is to eliminate intermediate data round trips, our horizontal fusion technique aims to increase the thread-level parallelism to hide instruction latencies. We also present HFuse, a new source to source CUDA compiler that implements automatic horizontal fusion. Our experimental results show that horizontal fusion can speed up the running time by 2.5%-60.8%. Our results reveal that the horizontal fusion is especially beneficial for fusing kernels with instructions that require different kinds of GPU resources (e.g., a memory-intensive kernel and a compute-intensive kernel).

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

↑