Mathematical Modelling and Analysis (Mar 2007)

Application of template metaprogramming technologies to improve the efficiency of parallel arrays

  • Alexander Jakušev

DOI
https://doi.org/10.3846/1392-6292.2007.12.71-79
Journal volume & issue
Vol. 12, no. 1

Abstract

Read online

Parallel array library ParSol is an easy way to parallelize data parallel algorithms implemented in C/C++. However, in order to use all the features provided by C++ and OOP in real life applications, the efficiency of C++ code that uses ParSol library must be similar to the one of C code. Template metaprogramming is one of the ways to achieve this goal. This paper describes the details of application of this technology to parallel arrays, and presents the efficiency tests. First Published Online: 14 Oct 2010

Keywords