DocumentCode :
2495702
Title :
Aligning parallel arrays to reduce communication
Author :
Sheffler, Thomas J. ; Schreiber, Robert ; Gilbert, John R. ; Chatterjee, Siddhartha
Author_Institution :
Res. Inst. for Adv. Comput. Sci., NASA Ames Res. Center, Moffett Field, CA, USA
fYear :
1995
fDate :
6-9 Feb 1995
Firstpage :
324
Lastpage :
331
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
Keywords :
communication complexity; graph theory; optimisation; parallel programming; parallelising compilers; CM-5; axis and stride alignment; communication reduction; data-parallel programs; distributed-memory machines; heuristic methods; local graph transformations; optimal algorithm; optimization; parallel arrays; program graphs; Computer science; Concurrent computing; Costs; Distributed computing; Educational institutions; NASA; Optimizing compilers; Phased arrays; Postal services; Space exploration;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Frontiers of Massively Parallel Computation, 1995. Proceedings. Frontiers '95., Fifth Symposium on the
Conference_Location :
McLean, VA
Print_ISBN :
0-8186-6965-9
Type :
conf
DOI :
10.1109/FMPC.1995.380438
Filename :
380438
Link To Document :
بازگشت