首页> 外文期刊>International journal of parallel programming >Synchronization Validation for Cross-Thread Dependences in Parallel Programs
【24h】

Synchronization Validation for Cross-Thread Dependences in Parallel Programs

机译:并行程序中跨线程依赖项的同步验证

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

摘要

Parallelizing transformations are applied in the process of high-level synthesis to enable the designer to optimize and improve the synthesis results. Parallelizing compilers often apply parallelizing transformations to convert a sequential program into a concurrentized or vectorized program so that the resulting parallel program can exploit the architectures of parallel machines. Concurrentization of loops in a sequential program is one of the most important transformations performed by these compilers. Loop concurrentization often requires insertion of wait-signal synchronization instructions within the body of the concurrentized loops to achieve synchronization among the threads for preserving the dependences of the original sequential program. In the current work, we have proposed a method of analyzing the synchronization instructions for constructing the dependence graph of a loop concurrentized program. The resulting dependence graph, devoid of the synchronization instructions, is then checked for equivalence with the dependence graph of the original sequential program using methods reported in the literature. The proposed algorithm signals errors if the parallel program deadlocks or becomes non-determinate due to faulty insertion of wait-signal instructions.
机译:并行转换应用于高级综合过程中,以使设计人员能够优化和改善综合结果。并行化编译器通常应用并行化转换将顺序程序转换为并行化或矢量化程序,以便最终的并行程序可以利用并行机的体系结构。顺序程序中循环的并发是这些编译器执行的最重要的转换之一。循环并发通常需要在并发循环的主体内插入等待信号同步指令,以实现线程之间的同步,从而保留原始顺序程序的依赖性。在当前的工作中,我们提出了一种分析同步指令的方法,以构造循环并发程序的依赖图。然后,使用文献中报道的方法,检查没有同步指令的结果依赖性图是否与原始顺序程序的依赖性图等效。如果并行程序由于错误插入等待信号指令而死锁或变得不确定,则提出的算法会发出错误信号。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号