Automatic parallelization of a class of irregular loops for distributed memory systems

Author:

Ravishankar Mahesh1,Eisenlohr John1,Pouchet Louis-Noël2,Ramanujam J.3,Rountev Atanas1,Sadayappan P.1

Affiliation:

1. Ohio State University

2. University of California, Los Angeles

3. Louisiana State University

Abstract

Many scientific applications spend significant time within loops that are parallel, except for dependences from associative reduction operations. However these loops often contain data-dependent control-flow and array-access patterns. Traditional optimizations that rely on purely static analysis fail to generate parallel code in such cases. This article proposes an approach for automatic parallelization for distributed memory environments, using both static and runtime analysis. We formalize the computations that are targeted by this approach and develop algorithms to detect such computations. We also describe algorithms to generate a parallel inspector that performs a runtime analysis of control-flow and array-access patterns, and a parallel executor to take advantage of this information. The effectiveness of the approach is demonstrated on several benchmarks that were automatically transformed using a prototype compiler. For these, the inspector overheads and performance of the executor code were measured. The benefit on real-world applications was also demonstrated through similar manual transformations of an atmospheric modeling software.

Funder

National Science Foundation

U.S. Army

U.S. Department of Energy

Publisher

Association for Computing Machinery (ACM)

Subject

Computational Theory and Mathematics,Computer Science Applications,Hardware and Architecture,Modeling and Simulation,Software

Reference48 articles.

1. Interprocedural partial redundancy elimination and its application to distributed memory compilation

2. Runtime dependence computation and execution of loops on heterogeneous systems

3. Balay S. Brown J. Buschelman K. Gropp W. D. Kaushik D. Knepley M. G. Mcinnes L. C. Smith B. F. and Zhang H. 2012. PETSc http://www.mcs.anl.gov/petsc. Balay S. Brown J. Buschelman K. Gropp W. D. Kaushik D. Knepley M. G. Mcinnes L. C. Smith B. F. and Zhang H. 2012. PETSc http://www.mcs.anl.gov/petsc.

4. Large-scale simulation of elastic wave propagation in heterogeneous media on parallel computers

5. Baskaran M. M. Ramanujam J. and Sadayappan P. 2010. Automatic C-to-CUDA code generation for affine programs. In Compiler Construction 264--263. 10.1007/978-3-642-11970-5_14 Baskaran M. M. Ramanujam J. and Sadayappan P. 2010. Automatic C-to-CUDA code generation for affine programs. In Compiler Construction 264--263. 10.1007/978-3-642-11970-5_14

Cited by 4 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Safe automated refactoring for intelligent parallelization of Java 8 streams;Science of Computer Programming;2020-09

2. A functional approach to accelerating Monte Carlo based american option pricing;Proceedings of the 31st Symposium on Implementation and Application of Functional Languages;2019-09-25

3. Incremental flattening for nested data parallelism;Proceedings of the 24th Symposium on Principles and Practice of Parallel Programming;2019-02-16

4. Automatic annotation of tasks in structured code;Proceedings of the 27th International Conference on Parallel Architectures and Compilation Techniques;2018-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3