HackerPapers

arXiv:1104.1729cs.PF

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

Klaus Iglberger, Georg Hager, Jan Treibig, Ulrich Ruede

HN submission. Found in a submission link or body. Submitters do not count as commenters in the main ranking; a submission is not an endorsement.

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.

arXiv comments
16 pages, 7 figures
Journal reference
SIAM Journal on Scientific Computing 34(2), C42-C69 (2012)
DOI
doi:10.1137/110830125
Subjects
cs.PFPerformance cs.PLProgramming Languages

On Hacker News

No comments linking this paper were found in the collected sources. Found in 1 HN submission from Jul 2017 to Jul 2017. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments0 threads

No comments linking this paper were found in the collected sources. Open submission discussions.

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.