~/talk

Overview of Parallel Programming in C++

Talkat CppCon 2014 · on Monday, 2014-09-08· at 11:00· Pascal· [rust]
slides:none on file

Covers concrete claims, tools and costs: multicore is necessary as clock speeds stall, typical phones have 2–4 cores, laptops 4–8, servers dozens, a Zeon E7 tops out at 15 cores and a Zeon 5 at 57 to 61 cores; demonstrates C++ models like Cilk Plus, TBB, OpenMP and compares std::async; shows worked examples (recursive fib, quicksort, parallel_for), explains reducers and task_region work toward a TS, and measures costs (atomics ~20 cycles, 64‑byte cache lines causing false sharing). Practical fixes—coarsening, divide‑and‑conquer, reductions—are shown and evaluated.

AI-written summary · about

  1. 0:00Intro
  2. 1:13What is parallelism?
  3. 4:12Vendor solution: Multicore
  4. 6:12Concurrency and parallelism: They're not the same thing!
  5. 6:59Sports analogy
  6. 9:27Parallelism is a graph-theoretical property of the algorithm
  7. 12:03Types of parallelism
  8. 15:52The world's worst Fibonacci algorithm
  9. 19:56Parallelism Libraries: TBB and PPL
  10. 23:41Parallelism pragmas: OpenMP
  11. 26:25Parallel language extensions
  12. 28:24Future C++ standard library for parallelism
  13. 40:05Mitigating data races: Mutexes and atomics
  14. 41:28Mitigating data races: Reduction operations
  15. 46:09Avoiding data races: Divide into disjoint data sets
  16. 53:28Performance problem: False sharing
  17. 55:03Avoiding false sharing
  18. 58:19Performance bug Insufficient parallelism
  19. 59:14Performance bug: Insufficient parallelism
~/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.