【24h】

SIMD re-convergence at thread frontiers

机译:SIMD在螺纹前沿重新收敛

获取原文

摘要

Hardware and compiler techniques for mapping data-parallel programs with divergent control flow to SIMD architectures have recently enabled the emergence of new GPGPU programming models such as CUDA, OpenCL, and DirectX Compute. The impact of branch divergence can be quite different depending upon whether the program's control flow is structured or unstructured. In this paper, we show that unstructured control flow occurs frequently in applications and can lead to significant code expansion when executed using existing approaches for handling branch divergence. This paper proposes a new technique for automatically mapping arbitrary control flow onto SIMD processors that relies on a concept of a Thread Frontier, which is a bounded region of the program containing all threads that have branched away from the current warp. This technique is evaluated on a GPU emulator configured to model i) a commodity GPU (Intel Sandybridge), and ii) custom hardware support not realized in current GPU architectures. It is shown that this new technique performs identically to the best existing method for structured control flow, and re-converges at the earliest possible point when executing unstructured control flow. This leads to i) between 1.5 - 633.2% reductions in dynamic instruction counts for several real applications, ii) simplification of the compilation process, and iii) ability to efficiently add high level unstructured programming constructs (e.g., exceptions) to existing data-parallel languages.
机译:映射数据并行程序具有发散控制流SIMD架构硬件和编译技术最近启用了新的GPGPU编程模型,如CUDA,OpenCL的和DirectX计算的出现。分支发散的影响,可以根据程序的控制流是否被结构化或非结构化大相径庭。在本文中,我们表明,非结构化的控制流应用中频繁出现和使用,用于处理分支发散现有的方法执行时可能会导致显著代码扩展。本文提出了一种用于自动映射任意控制流到依赖于一个Thread前沿,其是含有已经从当前经支链远的所有线程的程序的有界区域的概念SIMD处理器的新技术。这种技术是在GPU上评估仿真器被配置为ⅰ)商品GPU(英特尔SandyBridge的)进行建模,以及ii)定制的硬件支持在当前GPU架构没有实现。结果表明,执行非结构化控制流时在尽可能早的点这一新技术进行相同地结构化的控制流最好现有方法,和重新收敛。 1.5之间,这导致ⅰ) - 633.2%减少在动态指令计数几个实际应用中,ii)所述编译过程的简化,以及iii)能力以有效地高电平非结构化编程结构(例如,例外)添加到现有的数据并行语言。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号