~/talk

Parallel Algorithms: Work Smarter, Not Harder

Talkat NDC TechTown 2025 · 2025-09-22..09-25· [concurrency]
links:none on file
slides:none on file

Adds one execution-policy parameter to use C++17 parallel algorithms and the library handles thread management; performance wins appear only on large data and when avoiding synchronization. Key specifics: reduce requires associativity (accumulate stays for non‑associative ops), floating‑point math can change results, use transform_reduce/transform_inclusive_scan to fix ordering issues, and execution policies (seq, par, unseq, par_unseq) impose different synchronization rules — par_unseq and unseq forbid synchronization — don’t mix with OpenMP.

AI-written summary · about

  1. 0:00Parallel algorithms in C++
  2. 2:15Standard library next-gen parallelism
  3. 3:39Old vs new parallelism
  4. 7:10Why some algorithms can't parallelize
  5. 12:31Accumulate vs reduce fixes
  6. 13:57Inner product vs transform reduce
  7. 16:24Partial sum: inclusive/exclusive scan
  8. 22:34Exceptions in parallel algorithms
  9. 23:40Efficiency and limits of parallelism
  10. 25:53Synchronization bottlenecks
  11. 27:41Execution policies: sequential, parallel, unsequenced, vectorized
  12. 36:07Downsides of parallel algorithms
  13. 38:40Future of C++ parallelism
  14. 39:23Key takeaways for parallelism
  15. 40:30Q&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.