~/talk

Expression Templates Revisited

Talkat Meeting C++ 2014 · 2014-12-05..12-06· [typescript]
slides:none on file

Reevaluates expression templates with concrete benchmarks: Blitz++ and Boost uBLAS reach C‑like speed for vector add but crash on big matrix multiply, losing to MKL and hand‑tuned kernels by orders of magnitude; on a 2.2 GHz AVX machine with a 17,600 MFLOPS peak the naive ET version hits ~5% of peak (a real case rises to 15–20% after removing ET), while smart expression templates using ~100 optimized kernels match MKL and make parallelism pay only above a ~10,000‑element threshold.

AI-written summary · about

  1. 0:00Start
  2. 7:18Addition Operator
  3. 8:55Expression Templates Are Easy To Use and Apply
  4. 10:31Expression Templates Are Performance Optimization
  5. 10:48Classical Libraries That Are Implemented Using Expression Templates
  6. 15:17Vector Addition
  7. 15:32Matrix Matrix Multiplication
  8. 16:06Matrix Multiplication
  9. 17:49Optimize Matrix Multiplication
  10. 22:31Expression Templates Are Not a Performance Optimization
  11. 23:41Expression Templates Revisited
  12. 24:02Performance Optimization
  13. 24:33Smart Expression Templates
  14. 25:02Optimized Kernels
  15. 38:13Do Expression Templates Help
  16. 38:27Expression Templates Are Easily Parallelized
  17. 41:59Parallelization
  18. 54:41Benchmarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.