首页> 外文会议>IEEE 17th International Symposium on High Performance Computer Architecture >Thread block compaction for efficient SIMT control flow
【24h】

Thread block compaction for efficient SIMT control flow

机译:线程块压缩可实现高效的SIMT控制流程

获取原文

摘要

Manycore accelerators such as graphics processor units (GPUs) organize processing units into single-instruction, multiple data “cores” to improve throughput per unit hardware cost. Programming models for these accelerators encourage applications to run kernels with large groups of parallel scalar threads. The hardware groups these threads into warps/wavefronts and executes them in lockstep-dubbed single-instruction, multiple-thread (SIMT) by NVIDIA. While current GPUs employ a per-warp (or per-wavefront) stack to manage divergent control flow, it incurs decreased efficiency for applications with nested, data-dependent control flow. In this paper, we propose and evaluate the benefits of extending the sharing of resources in a block of warps, already used for scratchpad memory, to exploit control flow locality among threads (where such sharing may at first seem detrimental). In our proposal, warps within a thread block share a common block-wide stack for divergence handling. At a divergent branch, threads are compacted into new warps in hardware. Our simulation results show that this compaction mechanism provides an average speedup of 22% over a baseline per-warp, stack-based reconvergence mechanism, and 17% versus dynamic warp formation on a set of CUDA applications that suffer significantly from control flow divergence.
机译:图形处理器单元(GPU)等许多核心加速器将处理单元组织为单指令,多个数据“核心”,以提高单位硬件成本的吞吐量。这些加速器的编程模型鼓励应用程序运行带有大量并行标量线程的内核。硬件将这些线程分组为扭曲/波阵面,并在NVIDIA的锁步复制单指令多线程(SIMT)中执行它们。尽管当前的GPU采用按扭曲(或按波前)的堆栈来管理不同的控制流,但对于嵌套的,与数据相关的控制流的应用,其效率却降低了。在本文中,我们提出并评估了已在暂存器内存中使用的扭曲块中扩展资源共享的好处,以利用线程之间的控制流局部性(这种共享起初看起来可能是有害的)。在我们的建议中,线程块中的扭曲共享一个共同的块范围堆栈以进行发散处理。在不同的分支,线程被压缩为硬件中的新线程。我们的仿真结果表明,这种压紧机制与基于每次堆栈的基于堆栈的重新收敛机制相比,平均速度提高了22%,而与动态翘曲形成相比,在一组明显受控制流散度影响的CUDA应用上,该压缩速度提高了17%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号