首页> 外文会议>IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing >Graph-Oriented Code Transformation Approach for Register-Limited Stencils on GPUs
【24h】

Graph-Oriented Code Transformation Approach for Register-Limited Stencils on GPUs

机译:面向图形的GPU上寄存器限量模板的代码转换方法

获取原文

摘要

Stencil kernels play an important role in many scientific and engineering disciplines. With the development of numerical algorithms and the increasing requirements of accuracy, register-limited stencils containing massive variables and operations are widely used. However, these register-limited stencils consume vast resources when executing on GPUs. The excessive use of registers reduces the number of active threads dramatically, and consequently leads to a serious performance decline. To improve the performance of these register-limited stencils, we propose a DDG (data-dependency-graph) oriented code transformation approach in this paper. By analyzing, deleting and transforming the original stencil program on GPUs, our graph-oriented code transformation approach explores for the best trade-off between the calculation amount and the parallelism degree, and further achieves better performance. The graph-oriented code transformation approach is evaluated using the Weighted Nearly Analytic Discrete stencil, and the experimental result shows that a speedup of 2.16X can be achieved when compared with the original fairly-optimized implementation. To the best of our knowledge, our study takes the first step towards balancing the calculation amount and parallelism degree of the extremely register-limited stencils on GPUs.
机译:模具仁在许多科学和工程学科中发挥着重要作用。随着数值算法的发展和准确性的增加要求,广泛使用含有大量变量和操作的寄存器限制模板。但是,这些注册有限的模板在GPU上执行时消耗了丰富的资源。过度使用寄存器显着降低了有源线程的数量,因此导致严重的性能下降。为了提高这些寄存器限制模板的性能,我们提出了一种DDG(数据依赖性图)的导向码转换方法。通过分析,删除和转换GPU上的原始模版,我们的图形代码转换方法探讨了计算量和平行度之间的最佳权衡,进一步实现了更好的性能。使用加权几乎分析离散模版评估面向图形的码变换方法,实验结果表明,与原始相当优化的实施相比,可以实现2.16x的加速。据我们所知,我们的研究迈出了第一次迈出了在GPU上平衡了极端注册的模板的计算量和平行度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号