Parallelizing while loops for multiprocessor systems
Authors:
Open Access
- 19 November 2002
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 347-356
Abstract
Current parallelizing compilers treat while loops and do loops with conditional exits as sequential constructs because their iteration space is unknown. Because these types of loops arise frequently in practice, we have developed techniques that can automatically transform them for parallel execution. We succeed in parallelizing loops involving linked lists traversals-something that has not been done before. This is an important problem since linked list traversals arise frequently in loops with irregular access patterns, such as sparse matrix computations. The methods can even be applied to loops whose data dependence relations cannot be analyzed at compile-time. Experimental results on loops from the PERFECT Benchmarks and sparse matrix packages show that these techniques can yield significant speedups.Keywords
This publication has 9 references indexed in Scilit:
- Loop distribution with arbitrary control flow2002
- Parallelization of loops with exits on pipelined architectures2002
- The LRPD test: speculative run-time parallelization of loops with privatization and reduction parallelizationIEEE Transactions on Parallel and Distributed Systems, 1999
- Efficient parallel algorithms for graph problemsAlgorithmica, 1990
- Dependence Analysis for Supercomputing1988
- Advanced compiler optimizations for supercomputersCommunications of the ACM, 1986
- Dependence graphs and compiler optimizations1981
- Parallel Prefix ComputationJournal of the ACM, 1980
- Practical Parallel Band Triangular System SolversACM Transactions on Mathematical Software, 1978