首页> 外文会议>International Parallel Processing Symposium >Commutativity analysis: a technique for automatically parallelizing pointer-based computations
【24h】

Commutativity analysis: a technique for automatically parallelizing pointer-based computations

机译:换向分析:一种自动并行化基于指针的计算的技术

获取原文

摘要

This paper introduces an analysis technique, commutativity analysis, for automatically parallelizing computations that manipulate dynamic, pointer-based data structures. Commutativity analysis views computations as composed of operations on objects. It then analyzes the program to discover when operations commute, i.e. leave the objects in the same state regardless of the order in which they execute. If all of the operations required to perform a given computation commute, the compiler can automatically generate parallel code. Commutativity analysis eliminates many of the limitations that have prevented existing compilers, which use data dependence analysis from successfully parallelizing pointer-based applications. It enables compilers to parallelize computations that manipulate graphs and eliminates the need to analyze the data structure construction code to extract global properties of the data structure topology. This paper shows how to use symbolic execution and expression manipulation to statically determine that operations commute and how to exploit the extracted commutativity information to generate parallel code. It also presents performance results that demonstrate that commutativity analysis can be used to successfully parallelize the Barnes-Hut hierarchical N-body solver, an important scientific application that manipulates a complex pointer-based data structure.
机译:本文介绍了一种分析技术,汇流分析,用于自动并行化控制动态,基于指针的数据结构的计算。 Congutatity分析视图计算对象上的操作组成。然后,它分析程序以发现操作通勤时,即,无论他们执行的顺序如何,请将对象留在相同状态。如果执行给定计算通勤所需的所有操作,则编译器可以自动生成并行代码。 Conmutatity分析消除了阻止现有编译器的许多限制,该编译器使用数据依赖性分析成功并行化基于指针的应用程序。它使编译器能够并行化操纵图形的计算,并消除了分析数据结构构建代码以提取数据结构拓扑的全局属性的需要。本文展示了如何使用符号执行和表达式操作来静态地确定通勤以及如何利用所提取的扩充信息来生成并行代码。它还提出了性能结果,表明可以使用换向分析来成功并行化Barnes-Hut分层N-Body求解器,这是一个重要的科学应用程序,可以操纵复杂的基于指针的数据结构。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号