The LRPD test
- 1 June 1995
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 30 (6) , 218-232
- https://doi.org/10.1145/223428.207148
Abstract
Current parallelizing compilers cannot identify a significant fraction of parallelizable loops because they have complex or statically insufficiently defined access patterns. As parallelizable loops arise frequently in practice, we advocate a novel framework for their identification: speculatively execute the loop as a doall, and apply a fully parallel data dependence test to determine if it had any cross-iteration dependences; if the test fails, then the loop is re-executed serially. Since, from our experience, a significant amount of the available parallelism in Fortran programs can be exploited by loops transformed through privatization and reduction parallelization , our methods can speculatively apply these transformations and then check their validity at run-time. Another important contribution of this paper is a novel method for reduction recognition which goes beyond syntactic pattern matching; it detects at run-time if the values stored in an array participate in a reduction operation, even if they are transferred through private variables and/or are affected by statically unpredictable control flow. We present experimental results on loops from the PERFECT Benchmarks which substantiate our claim that these techniques can yield significant speedups which are often superior to those obtainable by inspector/executor methods.This publication has 18 references indexed in Scilit:
- Massively parallel methods for engineering and science problemsCommunications of the ACM, 1994
- The privatizing DOALL testPublished by Association for Computing Machinery (ACM) ,1994
- Improving the performance of runtime parallelizationPublished by Association for Computing Machinery (ACM) ,1993
- Performance analysis pf parallelizing compilers on the Perfect Benchmarks programsIEEE Transactions on Parallel and Distributed Systems, 1992
- Array privatization for parallel execution of loopsPublished by Association for Computing Machinery (ACM) ,1992
- Run-time parallelization and scheduling of loopsIEEE Transactions on Computers, 1991
- An empirical comparison of monitoring algorithms for access anomaly detectionPublished by Association for Computing Machinery (ACM) ,1990
- Automatic generation of nested, fork-join parallelismThe Journal of Supercomputing, 1989
- On-the-fly detection of access anomaliesPublished by Association for Computing Machinery (ACM) ,1989
- Advanced compiler optimizations for supercomputersCommunications of the ACM, 1986