Affine and unimodular transformations for non-uniform nested loops

  • Authors:
  • Fawzy A. Torkey;Afaf A. Salah;Nahed M. El Desouky;Sahar A. Gomaa

  • Affiliations:
  • Kaferelsheikh University, Kaferelsheikh, Egypt;Mathematics Department, Faculty of Science, Al Azhar University, Nasr City, Egypt;Mathematics Department, Faculty of Science, Al Azhar University, Nasr City, Egypt;Mathematics Department, Faculty of Science, Al Azhar University, Nasr City, Egypt

  • Venue:
  • ICCOMP'08 Proceedings of the 12th WSEAS international conference on Computers
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Performance improvement in the modern parallel machines needs not only to find sufficient parallelism in a program, but it is also important that we minimize the synchronization and communication overheads in the parallelized program. Parallelizing and partitioning of nested loops requires efficient iteration dependence analysis. Although many loop transformations exist for nested loop partitioning, most of these transformation techniques perform poorly when parallelizing nested loops with non-uniform (irregular) dependences. In this paper the affine and unimodular transformations are applied to solve the problem of parallelism in nested loops with non-uniform dependence vectors. To solve these problem few researchers converted the non-uniform nested loops to uniform nested loops and then find the parallelism. We propose applying directly the two approaches affine and unimodular transformations to extract and improve the parallelism in nested loops with non-uniform dependences. The study shows that unimodular transformation is better than affine transformation when the dependences in nested loops exist only in one statement. While affine transformation is more effective when the nested loops have a sequence of statements and the dependence exists between these different statements.