首页> 外文会议>IEEE International Conference on Parallel and Distributed Systems >Compile-Time Automatic Synchronization Insertion and Redundant Synchronization Elimination for GPU Kernels
【24h】

Compile-Time Automatic Synchronization Insertion and Redundant Synchronization Elimination for GPU Kernels

机译:GPU内核编译时自动同步插入和冗余同步消除

获取原文

摘要

In most of the GPU kernel programs, the synchronization statements are inserted manually by the programmers, which is very labor intensive, and error-prone. In this paper, we propose a synchronization optimization framework to automatically insert synchronization statements into the GPU kernels at compile time, while eliminating the redundant synchronization statements. We have shown that our framework can not only insert the synchronizations correctly, but also eliminate the redundant synchronizations, which outperforms the existing compiler frameworks that introduce redundant synchronizations using the most conservative strategy. Taking the GPU kernels as the input, our framework leverages data dependence analysis to insert synchronizations. We extend CETUS, a source-to-source compiler framework, to implement our synchronization optimization framework. Experimental results show that our proposed framework achieved 100% correctness by combining extensive evaluation and manual comparison. In addition, the number of synchronization statements in GPU kernels is reduced by 32.5%, and the number of synchronization statements executed is reduced by 28.2% on average by our synchronization optimization framework compared to the original GPU kernels.
机译:在大多数GPU内核程序中,程序员手动插入同步语句,这是非常劳动密集的,并且容易出错。在本文中,我们提出了一个同步优化框架,以在编译时自动将同步语句插入GPU内核,同时消除了冗余同步语句。我们已经表明,我们的框架不仅可以正确插入同步,而且消除了冗余同步,这胜过了使用最保守的策略引入冗余同步的现有编译器框架。将GPU内核作为输入,我们的框架利用数据依赖性分析来插入同步。我们扩展Cetus是一个源代码编译器框架,实现我们的同步优化框架。实验结果表明,我们的建议框架通过结合广泛的评估和手动比较来实现100%的正确性。此外,GPU内核中的同步语句的数量减少了32.5%,并且与原始GPU内核相比,通过我们的同步优化框架平均执行的同步语句的数量减少了28.2%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号