Distributed memory code generation for mixed Irregular/Regular computations

Author:

Ravishankar Mahesh1,Dathathri Roshan1,Elango Venmugil1,Pouchet Louis-Noël1,Ramanujam J.2,Rountev Atanas1,Sadayappan P.1

Affiliation:

1. Ohio State University, USA

2. Louisiana State University, USA

Abstract

Many applications feature a mix of irregular and regular computational structures. For example, codes using adaptive mesh refinement (AMR) typically use a collection of regular blocks, where the number of blocks and the relationship between blocks is irregular. The computational structure in such applications generally involves regular (affine) loop computations within some number of innermost loops, while outer loops exhibit irregularity due to data-dependent control flow and indirect array access patterns. Prior approaches to distributed memory parallelization do not handle such computations effectively. They either target loop nests that are completely affine using polyhedral frameworks, or treat all loops as irregular. Consequently, the generated distributed memory code contains artifacts that disrupt the regular nature of previously affine innermost loops of the computation. This hampers subsequent optimizations to improve on-node performance. We propose a code generation framework that can effectively transform such applications for execution on distributed memory systems. Our approach generates distributed memory code which preserves program properties that enable subsequent polyhederal optimizations. Simultaneously, it addresses a major memory bottleneck of prior techniques that limits the scalability of the generated code. The effectiveness of the proposed framework is demonstrated on computations that are mixed regular/irregular, completely regular, and completely irregular.

Funder

National Science Foundation

U.S. Department of Energy

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference47 articles.

1. Cloog: Chunky loop generator. www.cloog.org/. Cloog: Chunky loop generator. www.cloog.org/.

2. Example of the generated inspector/executor code. http://hpcrl.cse.ohio-state.edu/IEC/example.pdf. Example of the generated inspector/executor code. http://hpcrl.cse.ohio-state.edu/IEC/example.pdf.

3. Inspector/executor compiler. http://tinyurl.com/kwhp453. Inspector/executor compiler. http://tinyurl.com/kwhp453.

4. Pluto - an automatic parallelizer and locality optimizer for multicores. pluto-compiler.sourceforge.net. Pluto - an automatic parallelizer and locality optimizer for multicores. pluto-compiler.sourceforge.net.

5. ROSE compiler infrastructure. www.rosecompiler.org. ROSE compiler infrastructure. www.rosecompiler.org.

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

1. Automated Mapping of Task-Based Programs onto Distributed and Heterogeneous Machines;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2023-11-11

2. Index launches;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2021-11-13

3. Abstractions for Polyhedral Topology-Aware Tasking [Position Paper];Languages and Compilers for Parallel Computing;2021

4. A constraint-based approach to automatic data partitioning for distributed memory execution;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2019-11-17

5. Control replication;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2017-11-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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