TY - GEN
T1 - Scalable conditional induction variables (CIV) analysis
AU - Oancea, Cosmin E.
AU - Rauchwerger, Lawrence
N1 - KAUST Repository Item: Exported on 2020-10-01
Acknowledged KAUST grant number(s): KUS-C1-016-04
Acknowledgements: This work was supported in part by the Danish Councilfor Strategic Research under contract number 10-092299(HIPERFIT), and by NSF awards CCF 0702765, CNS-0551685, CCF-0833199, CCF-1439145, CCF-1423111, CCF-0830753, IIS-0917266, by DOE awards DE-AC02-06CH11357,DE-NA0002376, B575363, by Samsung, IBM, Intel, and byAward KUS-C1-016-04, made by King Abdullah Universityof Science and Technology (KAUST).
This publication acknowledges KAUST support, but has no KAUST affiliated authors.
PY - 2015/2
Y1 - 2015/2
N2 - 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.
AB - 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.
UR - http://hdl.handle.net/10754/599556
UR - http://ieeexplore.ieee.org/document/7054201/
UR - http://www.scopus.com/inward/record.url?scp=84925989910&partnerID=8YFLogxK
U2 - 10.1109/CGO.2015.7054201
DO - 10.1109/CGO.2015.7054201
M3 - Conference contribution
SN - 9781479981618
SP - 213
EP - 224
BT - 2015 IEEE/ACM International Symposium on Code Generation and Optimization (CGO)
PB - Institute of Electrical and Electronics Engineers (IEEE)
ER -