arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1311.2927cs.PLcs.DC
收藏

变距离数据依赖循环的并行化

Parallelization of Loops with Variable Distance Data Dependences

Archana Kale, Amitkumar Patil, Supratim Biswas

摘要:

循环的并行程度很大程度上取决于语句之间的依赖关系。虽然无依赖循环是完全可并行的,但那些带有循环依赖的循环则不是。依赖距离是一对依赖迭代之间的绝对差异的度量。具有恒定距离数据依赖的循环,由于依赖迭代之间的均匀距离,导致容易划分迭代空间,因此它们已被成功地处理。具有可变距离数据依赖的循环的并行化是相当困难的问题。我们相信,在这种循环中划分迭代空间不能不检查相应的线性丢番图方程的解。本文的重点是研究变距离数据的依赖关系,并检验依赖迭代之间的关系。我们的分析的基础上,参数化的解决方案,导致捕获迭代之间的依赖关系的数学公式。我们的方法表明,存在合理的可利用的并行可变距离的数据依赖循环与多个LDE。

英文摘要:

The extent of parallelization of a loop is largely determined by the dependences between its statements. While dependence free loops are fully parallelizable, those with loop carried dependences are not. Dependence distance is a measure of absolute difference between a pair of dependent iterations. Loops with constant distance data dependence, because of uniform distance between the dependent iterations, lead to easy partitioning of the iteration space and hence they have been successfully dealt with. Parallelization of loops with variable distance data dependences is a considerably difficult problem. It is our belief that partitioning the iteration space in such loops cannot be done without examining solutions of the corresponding Linear Diophantine Equations. Focus of this work is to study variable distance data dependences and examine the relation between dependent iterations. Our analysis based on parametric solution leads to a mathematical formulation capturing dependence between iterations. Our approach shows the existence of reasonable exploitable parallelism in variable distance data dependences loops with multiple LDEs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑