~/talk

Compute More in Less Time Using C++ Simd Wrapper Libraries

Talkat CppCon 2018 · 2018-09-23..09-28· [c-and-cpp, web-performance]
links:none on file
slides:none on file

Shows concrete C++ SIMD wrapper patterns: a pack<T,Width> abstraction, practical APIs for load/store/gather/scatter, masked stores for tails, and vectorized math (sin/cos/tan) with operator-like syntax. Uses header-only libs (examples with TSIMD and Vc, references to boost.simd) and Google Benchmark. Builds saxpy_trig (injected trig calls plus masked stores) and measures a 7–8x speedup on an AVX2 Skylake vs scalar; recommends horizontal vectorization and keeping math masked only at memory writes.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:49Why SIMD matters now
  3. 5:27SIMD vs SPMD and SIMT
  4. 11:26SIMD wrapper libraries overview
  5. 13:37Core SIMD wrapper abstractions
  6. 23:48Memory operations with SIMD
  7. 28:35SIMD math functions and algorithms
  8. 32:06Typical SIMD usage model
  9. 33:11Demo: SAXPY example
  10. 36:02Demo: SAXPY with trigonometry
  11. 40:04Data layout strategies
  12. 47:39Horizontal vs vertical vectorization
  13. 51:00SIMD and GPUs relationship
  14. 53:52Q&A session
~/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.