~/talk

Think Parallel

Talkat ACCU 2024 · 2024-04-17..04-20· [concurrency, c-and-cpp]
slides:none on file

Argues that a parallel inclusive-scan primitive, implemented with decoupled look-back, replaces the classic two-pass upsweep/down-sweep and enables single-pass, scalable algorithms. Uses C++17 parallel algorithms, per-tile serial scans, an atomic fetch_add for monotonic tile IDs and a scan_tile_state for communication. Requires only O(tiles) storage instead of O(input), hides latency by overlapping tiles, and benchmarks on billions of elements (thousands of tiles) show 3×/11×/9× speedups (scan, copy_if, chunk_by) and GPU/distributed gains.

AI-written summary · about

  1. 0:00Introduction
  2. 1:59Parallelism as default mindset
  3. 3:05Scan algorithm properties
  4. 5:14Three components of parallel problems
  5. 7:19Serial scan implementation
  6. 10:09Limitations of two-pass scan
  7. 11:57Scalable parallel programming principles
  8. 12:40Decoupled look back scan
  9. 16:15Monotonic progress in parallel
  10. 17:17Scan tile state for communication
  11. 20:06Decoupled look back scan example
  12. 25:24Wait for predecessor prefix
  13. 27:54Finalizing decoupled scan
  14. 28:36Scan methods comparison
  15. 29:39Scan foundation for parallel algorithms
  16. 30:03Copy if using scan
  17. 36:05Optimizing copy if with decoupled look back
  18. 39:41Introducing chunk by
  19. 42:08Interval data type for chunk by
  20. 46:06Multi-pass chunk by
  21. 56:10Limitations of multi-pass chunk by
  22. 56:31Single-pass chunk by
  23. 1:00:50Parallel algorithm design principles
  24. 1:03:01Resources on parallel programming
  25. 1:04:27Acknowledgments
~/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.