Compiler techniques to extract parallelism within a nested loop
C.-M. Wang, Sheng-De Wang · 2002
By analyzing the dependences between instances, the authors propose a new compiler technique called cycle breaking for parallelizing nested loops. For a single dependence cycle, it extracts more parallelism than two similar techniques. Several versions of cycle braking are presented to extract parallelism within a nested loop by linearizing its multidimensional iteration space. It is observed that the order in which loops are linearized can dramatically affect the parallelism extracted by cycle breaking. Two loop reordering transformations are investigated. Methods to find the optimal linearization order of loops are proposed. These techniques can enhance the parallelism of a nested loop.>