首页> 外文会议>OpenMP Shared Memory Parallel Programming >Analyses for the Translation of OpenMP Codes into SPMD Style with Array Privatization
【24h】

Analyses for the Translation of OpenMP Codes into SPMD Style with Array Privatization

机译:使用数组私有化将OpenMP代码转换为SPMD样式的分析

获取原文

摘要

A so-called SPMD style OpenMP program can achieve scalability on ccNUMA systems by means of array privatization, and earlier research has shown good performance under this approach. Since it is hard to write SPMD OpenMP code, we showed a strategy for the automatic translation of many OpenMP constructs into SPMD style in our previous work. In this paper, we first explain how to interprocedurally detect whether the OpenMP program consistently schedules the parallel loops. If the parallel loops are consistently scheduled, we may carry out array privatization according to OpenMP semantics. We give two examples of code patterns that can be handled despite the fact that they are not consistent, and where the strategy used to translate them differs from the straightforward approach that can otherwise be applied.
机译:所谓的SPMD风格的OpenMP程序可以通过阵列私有化在ccNUMA系统上实现可伸缩性,并且早期的研究表明在这种方法下具有良好的性能。由于很难编写SPMD OpenMP代码,因此在先前的工作中,我们展示了一种将许多OpenMP结构自动转换为SPMD样式的策略。在本文中,我们首先说明如何以过程方式检测OpenMP程序是否一致地调度并行循环。如果并行循环的调度是一致的,则可以根据OpenMP语义执行数组私有化。我们给出了两个示例代码示例,尽管它们不是一致的,但仍然可以处理,并且在哪种模式下进行翻译的策略与可以应用的简单方法有所不同。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号