首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >The LRPD test: speculative run-time parallelization of loops with privatization and reduction parallelization
【24h】

The LRPD test: speculative run-time parallelization of loops with privatization and reduction parallelization

机译:LRPD测试:具有私有化和约简并行化的循环的推测性运行时并行化

获取原文
获取原文并翻译 | 示例
           

摘要

Current parallelizing compilers cannot identify a significant fraction of parallelizable loops because they have complex or statically insufficiently defined access patterns. As parallelizable loops arise frequently in practice, we advocate a novel framework for their identification: speculatively execute the loop as a doall, and apply a fully parallel data dependence test to determine if it had any cross-iteration dependences; if the test fails, then the loop is re-executed serially. Since, from our experience, a significant amount of the available parallelism in Fortran programs can be exploited by loops transformed through privatization and reduction parallelization, our methods can speculatively apply these transformations and then check their validity at run-time. Another important contribution of this paper is a novel method for reduction recognition which goes beyond syntactic pattern matching; it detects at run-time if the values stored in an array participate in a reduction operation, even if they are transferred through private variables and/or are affected by statically unpredictable control flow. We present experimental results on loops from the PERFECT Benchmarks which substantiate our claim that these techniques can yield significant speedups which are often superior to those obtainable by inspector/executor methods.
机译:当前的并行化编译器无法识别大部分可并行化的循环,因为它们具有复杂的或静态定义不足的访问模式。由于可并行化的循环在实践中经常出现,因此我们提倡一种新颖的框架来识别它们:以推测方式将循环作为一个循环执行,并应用完全并行的数据依赖性测试来确定其是否具有交叉迭代依赖性;如果测试失败,则按顺序重新执行循环。由于根据我们的经验,通过私有化和归约并行化转换的循环可以利用Fortran程序中大量可用的并行性,因此我们的方法可以推测性地应用这些转换,然后在运行时检查其有效性。本文的另一个重要贡献是超越了句法模式匹配的一种新颖的约简识别方法。它会在运行时检测数组中存储的值是否参与了归约运算,即使它们是通过私有变量传递的和/或受静态不可预测的控制流影响的。我们从PERFECT基准中得出循环的实验结果,这些证据证实了我们的主张,即这些技术可以产生显着的加速,通常比检查员/执行者的方法要好。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号