~/talk

The Shapes of Multi-Dimensional Arrays

Talkat CppCon 2020 · 2020-09-14..09-18· [machine-learning]
links:none on file
slides:none on file

Claims that C++20 non-type template parameters make a compact, composable shape DSL possible and demonstrates a proof‑of‑concept that injects expression‑template templates to declare mixed static/dynamic extents with defaults, indexed extenders, and layout/parallelization annotations. Implements a shaper/extent/nd_span stack that encodes rank, static sizes, and runtime sizes, shows it handles high ranks (examples up to six dimensions and use cases with billions of elements), and outlines the embedded domain-specific language design plus an optimization “log‑table” trick for low overhead.

AI-written summary · about

  1. 0:00Introduction to multi-dimensional arrays
  2. 5:28Current C++ linear algebra efforts
  3. 11:31Understanding mdspan proposal
  4. 29:18Balancing expressivity and performance
  5. 33:07C++20 template parameter flexibility
  6. 34:57Embedded DSL for array shapes
  7. 47:56Handling static and dynamic extents
  8. 54:01Extending the domain-specific language
  9. 58:42Future of C++ and genericity
  10. 1:01:11Timeline for standardization
~/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.