Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture covers synchronization in parallel computing, focusing on hardware implementation. Topics include shared memory synchronization, phases of synchronization, locks, message passing, synchronization objectives, and methods. It also discusses the challenges of locks, test-and-set instructions, lock performance characteristics, and alternative synchronization methods like test-and-test-and-set. The lecture explores barriers, centralized and combining tree barriers, critical sections, and OpenMP synchronization constructs like locks. Examples and code snippets are provided to illustrate the concepts.