High-level language support for user-defined reductions

被引:10
作者
Deitz, SJ [1 ]
Chamberlain, BL [1 ]
Snyder, L [1 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
关键词
user-defined reductions; parallel programming; high-level languages; scientific computing;
D O I
10.1023/A:1015781018449
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The optimized handling of reductions on parallel supercomputers or clusters of workstations is critical to high performance because reductions are common in scientific codes and a potential source of bottlenecks. Yet in many high-level languages, a mechanism for writing efficient reductions remains surprisingly absent. Further, when such mechanisms do exist, they often do not provide the flexibility a programmer needs to achieve a desirable level of performance. In this paper, we present a new language construct for arbitrary reductions that lets a programmer achieve a level of performance equal to that achievable with the highly flexible, but low-level combination of Fortran and MPI. We have implemented this construct in the ZPL language and evaluate it in the context of the initialization of the NAS MG benchmark. We show a 45 times speedup over the same code written in ZPL without this construct. In addition, performance on a large number of processors surpasses that achieved in the NAS implementation showing that our mechanism provides programmers with the needed flexibility.
引用
收藏
页码:23 / 37
页数:15
相关论文
共 20 条
[1]  
[Anonymous], PROGRAMMING GUIDE ZP
[2]  
Bailey D. H., 1994, RNR94007 NASA AM RES
[3]   LUPUS ILLUMINATED [J].
BAILEY, J .
AMERICAN JOURNAL OF NURSING, 1995, 95 (01) :20-20
[4]  
Blelloch Guy E., 1995, CMUCS95170
[5]  
BLUME W, 1994, P WORKSH LANG COMP P
[6]  
CHAMBERLAIN BL, 1998, P IEEE WORKSH HIGH L
[7]  
CHAMBERLAIN BL, 2000, P ACM C SUP
[8]  
CHAMBERLAIN BL, 1999, P ACM INT C ARR PROG
[9]  
FISHER AL, 1994, P ACM C PROGR LANG D
[10]  
*FORTR, 1997, HIGH PERF FORTR FOR