Lecture 19
Learning objectives
After this class, you should be able to:
- Optimize multi-threaded code so that it makes effective use of cache on different multi-core architectures.
- Identify common types of errors in multi-threaded code.
Reading assignment
- Section 4.10 - 4.12.
- Lecture 19 slides.
Exercises and review questions
- Questions on current lecture's material
- (Post on the discussion board) Implement code that uses the idea shown on slide 6 and evaluate it with threads running on different pairs of cores on
gpu
. What insight did you obtain from these runs?- Write code that includes some of the errors mentioned in Common Concurrency Problems and also code that fixes those problems.
- Questions on next lecture's material
- None.