~/talk

C++ Standard Parallelism

Talkat CppNorth 2022 · 2022-07-18..07-20· [c-and-cpp]
slides:none on file

Standard C++ now offers a portable parallelism model that claims to run on CPUs, GPUs and clusters without vendor extensions, via three pillars: a corpus of ~100 parallel algorithms that dispatch to vendor libraries, a composable asynchronous model (senders and receivers) for task graphs, and a multidimensional view type (mdspan). A prototype on GitHub supports CPU, GPU and distributed schedulers, runs LULESH and a lattice‑Boltzmann app, matches other backends, and scales to 512 GPUs and to thousands of GPUs in distributed tests.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:30The case for parallelism
  3. 2:35Strategy for C++ parallelism
  4. 3:53Parallel algorithms
  5. 5:07Understanding execution policies
  6. 6:41Parallel reduction example
  7. 8:26Ranges and composition
  8. 10:12Multi-dimensional index spaces
  9. 11:45Lazy algorithm composition
  10. 13:00Real-world applications
  11. 14:32Limitations of current approaches
  12. 15:40Senders and receivers
  13. 17:12Schedulers and senders
  14. 18:59Receivers and connection
  15. 20:48Composition with pipes
  16. 22:13Sender adapters
  17. 23:23Graph construction
  18. 25:34Sender consumers
  19. 26:02Under the hood
  20. 27:47Asynchronous inclusive scan
  21. 31:56Sender design challenges
  22. 33:40Prototype results
  23. 35:19Summary of sender framework
  24. 35:52Introduction to mdspan
  25. 37:34Extents and template parameters
  26. 39:07Mdspan indexing
  27. 40:15Layouts and accessors
  28. 41:55Portability with mdspan
  29. 42:56Stencil kernel example
  30. 44:16Future mdspan features
  31. 45:19Submdspan
  32. 47:27Tiled transpose example
  33. 49:06Linear algebra standard
  34. 50:55Linear algebra future
  35. 51:45Q&A
~/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.