pith. sign in

arxiv: 1104.1729 · v1 · pith:HJCCE4ZAnew · submitted 2011-04-09 · 💻 cs.PF · cs.PL

Expression Templates Revisited: A Performance Analysis of the Current ET Methodology

classification 💻 cs.PF cs.PL
keywords performancealgebracodecurrentet-basedexpressionframeworkshigh
0
0 comments X
read the original abstract

In the last decade, Expression Templates (ET) 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 demonstrate and explain the inability of current ET-based frameworks to deliver high performance for dense and sparse linear algebra operations, and introduce a new "smart" ET implementation that truly allows the combination of high performance code with the elegance and maintainability of a domain-specific language.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.