首页> 外国专利> Pipelined parallelization of multi-dimensional loops with multiple data dependencies

Pipelined parallelization of multi-dimensional loops with multiple data dependencies

机译:具有多个数据相关性的多维循环的管道并行化

摘要

A mechanism for folding all the data dependencies in a loop into a single, conservative dependence. This mechanism leads to one pair of synchronization primitives per loop. This mechanism does not require complicated, multi-stage compile time analysis. This mechanism considers only the data dependence information in the loop. The low synchronization cost balances the loss in parallelism due to the reduced overlap between iterations. Additionally, a novel scheme is presented to implement required synchronization to enforce data dependences in a DOACROSS loop. The synchronization is based on an iteration vector, which identifies a spatial position in the iteration space of the loop. Multiple iterations executing in parallel have their own iteration vector for synchronization where they update their position in the iteration space. As no sequential updates to the synchronization variable exist, this method exploits a greater degree of parallelism.
机译:一种将循环中的所有数据依赖项折叠为单个保守性依赖项的机制。这种机制导致每个循环一对同步原语。该机制不需要复杂的多阶段编译时间分析。该机制仅考虑循环中的数据相关性信息。低同步成本平衡了由于迭代之间减少的重叠而导致的并行性损失。另外,提出了一种新颖的方案来实现所需的同步以在DOACROSS循环中强制执行数据依赖性。同步基于迭代向量,该向量标识循环的迭代空间中的空间位置。并行执行的多个迭代具有自己的迭代向量以进行同步,在此它们会更新其在迭代空间中的位置。由于不存在对同步变量的顺序更新,因此该方法利用了更大程度的并行性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号