Search NASASearch

NASA NTRS · 19940010640

Mobile and replicated alignment of arrays in data-parallel programs

Abstract

When a data-parallel language like FORTRAN 90 is compiled for a distributed-memory machine, aggregate data objects (such as arrays) are distributed across the processor memories. The mapping determines the amount of residual communication needed to bring operands of parallel operations into alignment with each other. A common approach is to break the mapping into two stages: first, an alignment that maps all the objects to an abstract template, and then a distribution that maps the template to the processors. We solve two facets of the problem of finding alignments that reduce residual communication: we determine alignments that vary in loops, and objects that should have replicated alignments. We show that loop-dependent mobile alignment is sometimes necessary for optimum performance, and we provide algorithms with which a compiler can determine good mobile alignments for objects within do loops. We also identify situations in which replicated alignment is either required by the program itself (via spread operations) or can be used to improve performance. We propose an algorithm based on network flow that determines which objects to replicate so as to minimize the total amount of broadcast communication in replication. This work on mobile and replicated alignment extends our earlier work on determining static alignment.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Chatterjee, Siddhartha, Gilbert, John R., Schreiber, Robert. 1993-09-01. Mobile and replicated alignment of arrays in data-parallel programs. https://ntrs.nasa.gov/citations/19940010640

Cite the original work for its findings. Save a collection to share your selection of sources.