首页> 外文会议>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.16倍的加速。据我们所知,我们的研究朝着平衡GPU上极受寄存器限制的模板的计算量和并行度迈出了第一步。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号