An Approach to Parallelizing Non-Uniform Loops with the Omega Calculator
نویسندگان
چکیده
An approach permitting loops with non–uniform dependences to be parallelized is presented. It does not require loop-carried dependences to be uniformized. Firstly, all the loop iterations are executed in parallel despite the presence of loop carried dependences, next all the sinks of the pairs of dependent iterations are reexecuted to get correct results. A modification of this approach divides the iteration space into two sets. The first one includes independent iterations as well as all the sources of the pairs of dependent iterations that simultaneously are not the sinks of those. All iterations of this set can be executed in parallel. The second set holds all the sinks of the pairs of dependent iterations. The iterations of this set must be executed serially in lexicographical order. The approaches proposed have been implemented by means of the Omega calculator. Experimental results illustrate the scope of the approaches applicability. Index Terms — loop parallelization, non-uniform dependences, Presburger formulas
منابع مشابه
Unique Sets Oriented Parallelization of Loops with Non-Uniform Dependences
Although many methods exist for nested loop partitioning, most of them perform poorly when parallelizing loops with non-uniform dependences. This paper addresses the issue of automatic parallelization of loops with non-uniform dependences. Such loops are normally not parallelized by existing parallelizing compilers and transformations. Even when parallelized in rare instances, the performance i...
متن کاملDesign and evaluation of an environment APE for automatic parallelization of programs
In this paper, we have presented the design and evaluation of a compiler system, called APE, for automatic parallelization of scientiic and engineering applications on distributed memory computers. APE is built on top of SUIF compiler. It extends SUIF with capabilities in parallelizing loops with non-uniform cross-iteration dependencies, and in handling loops that have indirect access patterns....
متن کاملUnique Sets Oriented Partitioning of Nested Loops with Non-uniform Dependences
Although m a n y methods exist f o r nested loop partitioning, most of t hem perform poorly when parallelizing loops with non-uniform dependences. This paper addresses the issue of parallelizing nested loops with non-uniform dependences. Our approach is based o n convex hull theory, which has adequate information t o handle non-uniform dependences. W e introduce the concept of Complete Dependen...
متن کاملDesign and Evaluation of an Environment APE for Automatic Parallelization of Programs - Parallel Architectures, Algorithms, and Networks, 1996. Proceedings., Second International Symposi
In this paper, we have presented the design and evaluation of a compiler system, called APE, f o r automatic parallelization of scientific and engineering applications o n distributed m e m o r y computers. APE i s built o n top of S U I F compiler. It extends S U I F with capabilities in parallelizing loops with non-uniform cross-iteration dependencies, and in handling loops that have indirect...
متن کاملCompile Time Partitioning of Nested Loop Iteration Spaces with Non-uniform Dependences*
In this paper we address the problem of partitioning nested loops with non-uniform (irregular) dependence vectors. Parallelizing and partitioning of nested loops requires efficient inter-iteration dependence analysis. Although many methods exist for nested loop partitioning, most of these perform poorly when parallelizing nested loops with irregular dependences. Unlike the case of nested loops ...
متن کامل