Abstract
Subscripts using induction variables that cannot be expressed as a formula in terms of the enclosing-loop indices appear in the low-level implementation of common programming abstractions such as Alter, or stack operations and pose significant challenges to automatic parallelization. Because the complexity of such induction variables is often due to their conditional evaluation across the iteration space of loops we name them Conditional Induction Variables (CIV). This paper presents a flow-sensitive technique that summarizes both such civ-based and affine subscripts to program level, using the same representation. Our technique requires no modifications of our dependence tests, which is agnostic to the original shape of the subscripts, and is more powerful than previously reported dependence tests that rely on the pairwise disambiguation of read-write references. We have implemented the civ analysis in our parallelizing compiler and evaluated its impact on five Fortran benchmarks. We have found that that there are many important loops using civ subscripts and that our analysis can lead to their scalable parallelization. This in turn has led to the parallelization of the benchmark programs they appear in.
Original language | English |
---|---|
Title of host publication | Proceedings of the 13th Annual IEEE/ACM International Symposium on Code Generation and Optimization (CGO'15) |
Number of pages | 12 |
Publisher | IEEE Computer Society Press |
Publication date | 3 Mar 2015 |
Pages | 213-224 |
ISBN (Electronic) | 978-1-4799-8161-8 |
DOIs | |
Publication status | Published - 3 Mar 2015 |
Event | 13th Annual IEEE/ACM International Symposium on Code Generation and Optimization - San Fransisco, United States Duration: 7 Feb 2015 → 11 Feb 2015 Conference number: 13 |
Conference
Conference | 13th Annual IEEE/ACM International Symposium on Code Generation and Optimization |
---|---|
Number | 13 |
Country/Territory | United States |
City | San Fransisco |
Period | 07/02/2015 → 11/02/2015 |