~/talk

Compile-time sparse matrices

Talkat Meeting C++ 2023 · 2023-11-12..11-14· [web-performance]
links:none on file
slides:none on file

Claims a C++ library that encodes any sparsity (zeros, ones, symmetric remaps) in types and removes runtime loops by using compile-time loops and fold expressions with an IG/Blaze backend. Multiplication uses if constexpr elimination to drop 0 and 1 cases and a sparsity functor to remap entries. Benchmarks show memory savings (avoid storing up to ~50% zero entries) and speedups up to ~50% on small matrices and ~20% on moderate sizes versus IG SIMD; compile times and template bloat grow steeply, so limits and binary-size tradeoffs apply.

AI-written summary · about

  1. 0:00Compile-time sparse matrices intro
  2. 3:15Type-safe linear algebra recap
  3. 16:20Runtime vs compile-time matrices
  4. 23:09Efficient sparse multiplication
  5. 30:55Sparsity functor design
  6. 39:05Quiz on sparsity correctness
  7. 44:48Experimental benchmarks
  8. 53:31Summary and mission
  9. 54:54Q&A on binary size
  10. 1:00:15Q&A on GPU acceleration
~/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.