fa26-cs759 cs759
Lecture 10: OpenMP Loop Scheduling Lecture 10: OpenMP Loop Scheduling
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readLecture 10: OpenMP Loop Scheduling
Announcement
Code of the day: what does parallel actually do?
Data races are a correctness problem
OpenMP atomic
Cost and implementation
C++ atomics and compare-and-swap
Quiz: can this assertion fail?
Worksharing: divide work across a team
Canonical loops and independent work
Load balance versus locality
Static, dynamic, and guided schedules
Choosing a schedule
What the scheduler examples do
collapse: expose more iterations to one team
Summing a rectangular array
Quiz: collapse all three matrix-multiplication loops?