YouTube16 Sept 2024
1h 17m

Stanford CS149 I 2023 I Lecture 5 - Performance Optimization I: Work Distribution and Scheduling

Podcast cover

Stanford Online

This podcast episode explores the intricacies of optimizing parallel programming through various workload assignment strategies, ranging from static and dynamic assignments to the introduction of Cilk for recursive parallelism. The speaker emphasizes the importance of performance measurement, debugging, and efficient workload balancing, particularly highlighting the implementation of work queues and work stealing techniques to manage tasks effectively. Ultimately, the discussion illustrates how optimizing parallelism not only enhances program efficiency but also helps in managing unpredictable workloads with elegance and efficiency.

Outlines

Sign in to continue reading, translating and more.

Open full episode in Podwise