Journal Description
Publication Info
ISSN infoPrint: 1064-8275
Electronic: 1095-7197
Coden: SJOCE3
Featured Article
Expression Templates Revisited: A Performance Analysis of Current Methodologies
In the last decade, expression templates (ETs) have gained a reputation as an efficient performance optimization tool for C++ codes. This reputation builds on several ET-based linear algebra frameworks focused on combining both elegant and high-performance C++ code. However, on closer examination the assumption that ETs are a performance optimization technique cannot be maintained. In this paper we compare the performance of several generations of ET-based frameworks. We analyze different ET methodologies and explain the inability of some ET implementations to deliver high performance for dense and sparse linear algebra operations. Additionally, we introduce the notion of “smart” ETs, which truly allow for a combination of high performance code with the elegance and maintainability of a domain-specific language.



ALL SIAM Content
Scitation
Google Scholar