STAPL: An adaptive, generic parallel C++ library

被引:27
作者
An, P [1 ]
Jula, A [1 ]
Rus, S [1 ]
Saunders, S [1 ]
Smith, T [1 ]
Tanase, G [1 ]
Thomas, N [1 ]
Amato, N [1 ]
Rauchwerger, L [1 ]
机构
[1] Texas A&M Univ, Dept Comp Sci, College Stn, TX 77843 USA
来源
LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING | 2003年 / 2624卷
关键词
D O I
10.1007/3-540-35767-X_13
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The Standard Template Adaptive Parallel Library (STAPL) is a parallel library designed as a superset of the ANSI C++ Standard Template Library (STL). It is sequentially consistent for functions with the same name, and executes on uni- or multi-processor systems that utilize shared or distributed memory. STAPL is implemented using simple parallel extensions of C++ that currently provide a SPMD model of parallelism, and supports nested parallelism. The library is intended to be general purpose, but emphasizes irregular programs to allow the exploitation of parallelism for applications which use dynamically linked data structures such as particle transport calculations, molecular dynamics, geometric modeling, and graph algorithms. STAPL provides several different algorithms for some library routines, and selects among them adaptively at run-time. STAPL can replace STL automatically by invoking a preprocessing translation phase. In the applications studied, the performance of translated code was within 5% of the results obtained using STAPL directly. STAPL also provides functionality to allow the user to further optimize the code and achieve additional performance gains. We present results obtained using STAPL for a molecular dynamics code and a particle transport code.
引用
收藏
页码:193 / 208
页数:16
相关论文
共 24 条
  • [1] Amato N. M., 2000, Proceedings 14th International Parallel and Distributed Processing Symposium. IPDPS 2000, P729, DOI 10.1109/IPDPS.2000.846058
  • [2] AMATO NM, 1998, 98004 TEX A M U DEP
  • [3] AN P, 2001, TR01012 TEX A M U DE
  • [4] Berger E. D., 2000, INT C ARCH SUPP PROG
  • [5] Blelloch G., 1990, VECTOR MODELS DATA P
  • [6] BLELLOCH GE, 1993, CMUCS93129
  • [7] CHANG C, 1995, OBJECT ORIENTED RUNT
  • [8] CULLER D, 1993, INT C SUP NOV
  • [9] Frigo M., 1998, ACM SIGPLAN C PROGR
  • [10] Scalability analysis of multidimensional wavefront algorithms on large-scale SMP clusters
    Hoisie, A
    Lubeck, O
    Wasserman, H
    [J]. FRONTIERS '99 - THE SEVENTH SYMPOSIUM ON THE FRONTIERS OF MASSIVELY PARALLEL COMPUTATION, PROCEEDINGS, 1999, : 4 - 15