Search NASA⌕ Search

NASA NTRS · 19950003592

Aligning parallel arrays to reduce communication

Abstract

Axis and stride alignment is an important optimization in compiling data-parallel programs for distributed-memory machines. We previously developed an optimal algorithm for aligning array expressions. Here, we examine alignment for more general program graphs. We show that optimal alignment is NP-complete in this setting, so we study heuristic methods. This paper makes two contributions. First, we show how local graph transformations can reduce the size of the problem significantly without changing the best solution. This allows more complex and effective heuristics to be used. Second, we give a heuristic that can explore the space of possible solutions in a number of ways. We show that some of these strategies can give better solutions than a simple greedy approach proposed earlier. Our algorithms have been implemented; we present experimental results showing their effect on the performance of some example programs running on the CM-5.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sheffler, Thomas J., Schreiber, Robert, Gilbert, John R., Chatterjee, Siddhartha. 1994-07-01. Aligning parallel arrays to reduce communication. https://searchnasa.com/record/nasa%3A19950003592/aligning-parallel-arrays-to-reduce-communication

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search NASA by Indiciae: BibTeX · RIS.