wisconsin
Lecture 12: OpenMP Synchronization and Reduction

Lecture 12: OpenMP Synchronization and Reduction

Content locked

The catalog is public. Reading this content requires approved access.

Sign in to read
Lecture 12: OpenMP Synchronization and Reduction
Private data and copy-in / copy-out
Lastprivate example
Quiz: change the chunk size to three
Sharing across function calls
A loop-carried dependency is not removed by omp for
Barriers and nowait
Critical regions, atomic updates, and reductions
Critical
Atomic
Reduction
Worked reductions
Numerical integration
Find the one non-repeating integer
Quiz: reduction over sections
Histogram with a custom vector reduction