Communication-Minimal Partitioning and Data Alignment for Affine Nested Loops

Data alignment and computation domain partitioning techniques have been widely investigated to reduce communication overheads in distributed memory systems. This paper considers how these two techniques can be combined and applied to affine nested loops. Current data alignment techniques focus on individual entries of data arrays and, in general, cannot be used directly for cases when blocks of entries should be aligned collectively. This paper shows that existing data alignment techniques can be applied to partitioned algorithms if the null space of the data array indexing matrix is a boundary of computation blocks or the intersection of some computation block boundaries. These conditions can be used to generate several different partitionings and time-space transformations for a given target architecture. An example illustrates how it is possible to trade-off the number of communications and the memory space. Another example shows partitions of matrix-matrix multiplication that have smaller communication-computation ratios than Cannon's algorithm.

[1]  Ken Kennedy,et al.  Compiler optimizations for Fortran D on MIMD distributed-memory machines , 1991, Proceedings of the 1991 ACM/IEEE Conference on Supercomputing (Supercomputing '91).

[2]  Manish Gupta,et al.  Demonstration of Automatic Data Partitioning Techniques for Parallelizing Compilers on Multicomputers , 1992, IEEE Trans. Parallel Distributed Syst..

[3]  Weijia Shang,et al.  Data alignment of loop nests without nonlocal communications , 1994, Proceedings of IEEE International Conference on Application Specific Array Processors (ASSAP'94).

[4]  Alain Darte Regular partitioning for synthesizing fixed-size systolic arrays , 1991, Integr..

[5]  Hyuk-Jae Lee,et al.  Data alignments for modular time-space mappings of BLAS-like algorithms , 1995, Proceedings The International Conference on Application Specific Array Processors.

[6]  Keshav Pingali,et al.  Solving Alignment Using Elementary Linear Algebra , 1994, LCPC.

[7]  Monica S. Lam,et al.  A Loop Transformation Theory and an Algorithm to Maximize Parallelism , 1991, IEEE Trans. Parallel Distributed Syst..

[8]  Yves Robert,et al.  (Pen)-ultimate tiling? , 1994, Integr..

[9]  J. Ramanujam,et al.  Compile-Time Techniques for Data Distribution in Distributed Memory Machines , 1991, IEEE Trans. Parallel Distributed Syst..

[10]  Marina C. Chen,et al.  The Data Alignment Phase in Compiling Programs for Distrubuted-Memory Machines , 1991, J. Parallel Distributed Comput..

[11]  C. Q. Lee,et al.  The Computer Journal , 1958, Nature.

[12]  Jack Dongarra,et al.  Automatic Blocking of Nested Loops , 1990 .

[13]  Paul Feautrier Toward Automatic Distribution , 1994, Parallel Process. Lett..

[14]  Guy L. Steele,et al.  Data Optimization: Allocation of Arrays to Reduce Communication on SIMD Machines , 1990, J. Parallel Distributed Comput..

[15]  Hyuk-Jae Lee,et al.  Modular Mappings and Data Distribution Independent Computations , 1997, Parallel Process. Lett..