Application of template metaprogramming technologies to improve the efficiency of parallel arrays
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...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
Vilnius Gediminas Technical University
2007-03-01
|
Series: | Mathematical Modelling and Analysis |
Subjects: | |
Online Access: | https://journals.vgtu.lt/index.php/MMA/article/view/7095 |
id |
doaj-99ed511e3514435f84d7f9b6cec0220a |
---|---|
record_format |
Article |
spelling |
doaj-99ed511e3514435f84d7f9b6cec0220a2021-07-02T13:54:50ZengVilnius Gediminas Technical UniversityMathematical Modelling and Analysis1392-62921648-35102007-03-0112110.3846/1392-6292.2007.12.71-79Application of template metaprogramming technologies to improve the efficiency of parallel arraysAlexander Jakušev0Vilnius Gediminas Technical University, Saulėtekio al. 11, LT-10223 Vilnius, Lithuania 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 https://journals.vgtu.lt/index.php/MMA/article/view/7095ParSolOOPC/C template metaprogrammingexpression templates |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Alexander Jakušev |
spellingShingle |
Alexander Jakušev Application of template metaprogramming technologies to improve the efficiency of parallel arrays Mathematical Modelling and Analysis ParSol OOP C/C template metaprogramming expression templates |
author_facet |
Alexander Jakušev |
author_sort |
Alexander Jakušev |
title |
Application of template metaprogramming technologies to improve the efficiency of parallel arrays |
title_short |
Application of template metaprogramming technologies to improve the efficiency of parallel arrays |
title_full |
Application of template metaprogramming technologies to improve the efficiency of parallel arrays |
title_fullStr |
Application of template metaprogramming technologies to improve the efficiency of parallel arrays |
title_full_unstemmed |
Application of template metaprogramming technologies to improve the efficiency of parallel arrays |
title_sort |
application of template metaprogramming technologies to improve the efficiency of parallel arrays |
publisher |
Vilnius Gediminas Technical University |
series |
Mathematical Modelling and Analysis |
issn |
1392-6292 1648-3510 |
publishDate |
2007-03-01 |
description |
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
|
topic |
ParSol OOP C/C template metaprogramming expression templates |
url |
https://journals.vgtu.lt/index.php/MMA/article/view/7095 |
work_keys_str_mv |
AT alexanderjakusev applicationoftemplatemetaprogrammingtechnologiestoimprovetheefficiencyofparallelarrays |
_version_ |
1721328553470984192 |