首页> 外国专利> 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 SPMD (Single Program Multiple Data) code on SIMD (Single Instruction Multiple Data) machine. The machine runs an instruction stream over input data streams. The machine increments lane depth counters of all active lanes upon the thread-PC reaching a branch operation. The machine updates the lane-PC of each active lane according to targets of the branch operation. The machine selects an active lane and activates only lanes whose lane-PCs match the thread-PC. The machine decrements the lane depth counters of the selected active lanes and updates the lane-PC of each active lane upon the instruction stream reaching a first instruction. The machine assigns the lane-PC of a lane with a largest lane depth counter value to the thread-PC and activates all lanes whose lane-PCs match the thread-PC.
机译:提供了一种用于在SIMD(单指令多数据)机器上运行SPMD(单程序多数据)代码的同时选择活动数据流(通道)的系统,方法和计算机程序产品。机器在输入数据流上运行指令流。当线程PC到达分支操作时,机器将增加所有活动车道的车道深度计数器。机器根据分支操作的目标更新每个活动车道的车道PC。机器选择活动车道并仅激活其车道PC与线程PC匹配的车道。机器递减所选活动车道的车道深度计数器,并在指令流到达第一条指令时更新每个活动车道的车道PC。机器将具有最大车道深度计数器值的车道的车道PC分配给线程PC,并激活其车道PC与线程PC匹配的所有车道。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号