Affiliation:
1. School of Computer Science, Carnegie Mellon University, Pittsburgh, PA
Abstract
We present a method for automatically extracting parallel prefix programs from sequential loops, even in the presence of complicated conditional statements. Rather than searching for associative operators in the loop body directly, the method rests on the observation that functional composition itself is associative. Accordingly, we model the loop body as a multivalued function of multiple parameters, and look for a closed-form representation of arbitrary compositions of loop body instances. Careful analysis of conditionals allows this search to succeed in cases where existing automatic methods fail. The method has been implemented and used to generate code for the iWarp parallel computer.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
25 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Enhancing LLVM Optimizations for Linear Recurrence Programs on RVV;Proceedings of the 52nd International Conference on Parallel Processing Workshops;2023-08-07
2. Phased synthesis of divide and conquer programs;Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation;2021-06-18
3. Reverse engineering for reduction parallelization via semiring polynomials;Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation;2021-06-18
4. Lambda calculus with algebraic simplification for reduction parallelisation: Extended study;Journal of Functional Programming;2021
5. Translation of array-based loops to distributed data-parallel programs;Proceedings of the VLDB Endowment;2020-04