Multicore C++ Standard Template Library in a Generative Way

被引:2
|
作者
Szugyi, Zalan [1 ]
Torok, Mark [1 ]
Pataki, Norbert [1 ]
机构
[1] Eotvos Lorand Univ, Dept Programming Languages & Compilers, Budapest, Hungary
关键词
multicore programming; C++; STL; generic programming;
D O I
10.1016/j.entcs.2011.11.038
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Nowadays, the one of the most important challenges in the programming is the efficient usage of multicore processors. Many new programming languages and libraries support multicore programming. Cilk++ is one of the most well-known languages extension of C++ providing new keywords for multicore programming. C++ Standard Template Library is efficient generic library but it does not support parallelism. It is optimized to the sequential realm, hence it can be an efficiency bottleneck when it is used in multicore environment. In this paper we argue for a multicore implementation of C++ Standard Template Library for Cilk++. We consider the implementation of containers, algorithms, and functors as well. Our implementation takes advantage of generative technologies of C++. We also measure the speedup of our implementation.
引用
收藏
页码:63 / 72
页数:10
相关论文
共 50 条
  • [1] Runtime Concepts for the C++ Standard Template Library
    Pirkelbauer, Peter
    Parent, Sean
    Marcus, Mat
    Stroustrup, Bjarne
    [J]. APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 171 - +
  • [2] PSTL - A C++ Persistent Standard Template Library
    Gschwind, T
    [J]. 6TH USENIX CONFERENCE OF OBJECT-ORIENTED TECHNOLOGIES AND SYSTEMS (COOTS 01), 2001, : 147 - 158
  • [3] C++ toolbox - An overview of the Standard Template Library
    Wise, GB
    [J]. ACM SIGPLAN NOTICES, 1996, 31 (04) : 4 - 10
  • [4] C++ Standard Template Library by infinite iterators
    Kozsik, Tamas
    Pataki, Norbert
    Szugyi, Zalan
    [J]. ANNALES MATHEMATICAE ET INFORMATICAE, 2011, 38 : 75 - 86
  • [5] Clang matchers for verified usage of the C++ Standard Template Library
    Horvath, Gabor
    Pataki, Norbert
    [J]. ANNALES MATHEMATICAE ET INFORMATICAE, 2015, 44 : 99 - 109
  • [6] Measuring the Overhead of C++ Standard Template Library Safe Variants
    Pataki, Norbert
    Szugyi, Zalan
    Devai, Gergely
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2011, 264 (05) : 71 - 83
  • [7] Multicore C plus plus Standard Template Library with C++0x
    Szugyi, Zalan
    Torok, Mark
    Pataki, Norbert
    Kozsik, Tamas
    [J]. NUMERICAL ANALYSIS AND APPLIED MATHEMATICS ICNAAM 2011: INTERNATIONAL CONFERENCE ON NUMERICAL ANALYSIS AND APPLIED MATHEMATICS, VOLS A-C, 2011, 1389
  • [8] Dense and Sparse Matrix Classes Using the C++ Standard Template Library
    Søren S. Nielsen
    [J]. Computational Economics, 1999, 14 (1-2) : 47 - 68
  • [9] Template numerical toolkit for linear algebra: High performance programming with C++ and the standard template library
    Pozo, R
    [J]. INTERNATIONAL JOURNAL OF SUPERCOMPUTER APPLICATIONS AND HIGH PERFORMANCE COMPUTING, 1997, 11 (03): : 251 - 263
  • [10] Standard C/C++: Testing C++ library conformance
    Plauger, P.J.
    [J]. C/C++ Users Journal, 2000, 18 (04):