...
首页> 外文期刊>Concurrency and computation: practice and experience >Dissecting sequential programs for parallelization-An approach based on computational units
【24h】

Dissecting sequential programs for parallelization-An approach based on computational units

机译:剖析用于并行化的顺序程序-一种基于计算单元的方法

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

摘要

When trying to parallelize a sequential program, programmers routinely struggle during the firststep: finding out which code sections can be made to run in parallel. While identifying such codesections, most of the current parallelism discovery techniques focus on specific language constructs.In contrast, we propose to concentrate on the computations performed by a program.In our approach, a program is treated as a collection of computations communicating with oneanother using a number of variables. Each computation is represented as a computational unit(CU). A CU contains the inputs and outputs of a computation, and the three phases of a computationare read, compute, and write. Based on the notion of CU, which ensures that the read phaseexecutes before thewrite phase, we present a unified framework to identify both loop parallelismand task parallelism in sequential programs.We conducted a range of experiments on 23 applicationsfrom four different benchmark suites. Our approach accurately identified the parallelizationopportunities in benchmark applications based on comparison with their parallel versions. Wehave also parallelized the opportunities identified by our approach that were not implemented inthe parallel versions of the benchmarks and reported the speedup.
机译:在尝试并行化顺序程序时,程序员通常会在第一步中苦苦挣扎:找出可以使哪些代码段并行运行。在识别此类代码时,大多数当前的并行发现技术都集中在特定的语言构造上。 r n相反,我们建议专注于程序执行的计算。 r n在我们的方法中,程序是视为使用多个变量与一个另一个另一个通信的计算集合。每次计算都表示为一个计算单位 r n(CU)。 CU包含计算的输入和输出,以及计算 r nare的三个阶段,即读取,计算和写入。基于CU的概念,该概念可确保读取阶段 r n在写入阶段之前执行,我们提出了一个统一的框架来识别顺序程序中的循环并行性 r n和任务并行性。我们在23个应用程序上进行了一系列实验 r n来自四个不同的基准套件。我们的方法基于与并行版本的比较,准确地确定了基准应用程序中的并行化 r nopununity。我们还并行处理了我们的方法所确定的机会,这些机会并未在并行基准测试中实现,并报告了加速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号