首页> 外国专利> Optimize control-flow convergence on SIMD engine using divergence depth

Optimize control-flow convergence on SIMD engine using divergence depth

机译:使用发散深度优化SIMD发动机上的控制流量收敛

摘要

There are provided a system, a method and a computer program product for selecting an active data stream (a lane) while running Single Program Multiple Data code on a Single Instruction Multiple Data machine. The machine runs an instruction stream over input data streams and machine increments lane depth counters of all active lanes upon the thread-PC reaching a branch operation and updates the lane-PC of each active lane according to targets of the branch operation. An instruction of the instruction stream includes a barrier indicating a convergence point for all lanes to join. In response to a lane reaching a barrier: evaluating whether all lane-PCs are set to a same thread-PC; and if the lane-PCs are not set to the same thread-PC, selecting an active lane from the plurality of lanes; otherwise, incrementing the lane-PCs of all the lanes, and then selecting an active lane from the plurality of lanes.
机译:提供了一种系统,方法和计算机程序产品,用于在单个指令多个数据机上运行单个程序多个数据代码时选择活动数据流(一道)。该机器在输入数据流中运行指令流,并且在线程PC上达到分支操作时,机器增量所有有效泳道的通道深度计数器,并根据分支操作的目标更新每个活动通道的车道-c。指令流的指令包括指示所有通道加入的收敛点的障碍。响应于抵达屏障的车道:评估所有车道-C是否设置为相同的线程PC;如果Lane-PC未设置为相同的线程PC,则选择来自多个泳道的活动通道;否则,递增所有通道的车道,然后从多个泳道中选择活动通道。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号