High-level Language Support for User-defined Reductions

被引:0
作者
Steven J. Deitz
Bradford L. Chamberlain
Lawrence Snyder
机构
[1] University of Washington,
来源
The Journal of Supercomputing | 2002年 / 23卷
关键词
user-defined reductions; parallel programming; high-level languages; scientific computing;
D O I
暂无
中图分类号
学科分类号
摘要
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
页数:14
相关论文
共 34 条
[31]   High-Level Programming for Many-Cores Using C++14 and the STL [J].
Haidl, Michael ;
Gorlatch, Sergei .
INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2018, 46 (01) :23-41
[32]   High-Level Stream and Data Parallelism in C plus plus for Multi-Cores [J].
Loff, Junior ;
Hoffmann, Renato Barreto ;
Griebler, Dalvan ;
Fernandes, Luiz Gustavo .
25TH BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES, SBLP 2021, 2021, :41-48
[33]   High-Level Languages and Floating-Point Arithmetic for FPGA-Based CFD Simulations [J].
Sanchez-Roman, Diego ;
Sutter, Gustavo ;
Lopez-Buedo, Sergio ;
Gonzalez, Ivan ;
Gomez-Arribas, Francisco J. ;
Aracil, Javier ;
Palacios, Francisco .
IEEE DESIGN & TEST OF COMPUTERS, 2011, 28 (04) :28-36
[34]   Celerity-RSim: Porting Light Propagation Simulation to Accelerator Clusters Using a High-Level API [J].
Thoman, Peter ;
Gschwandtner, Philipp ;
Heredina, Facundo Molina ;
Fahringer, Thomas .
INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2025, 53 (03)