Lecture 11
Learning objectives
After this class, you should be able to:
- Define the reduction operation.
- Define the term
work-efficient
.- Analyze the time complexity of parallel reduction and explain the reason for branch divergence.
Reading assignment
- Read UIUC Lecture 11 slides.
- Chapter 6 of text, section 6.1.
Exercises and review questions
- Exercises and review questions on current lecture's material
- Consider the parallel reduction algorithm discussed in class. Is commutativity of the operator required for correctness of the algorithm?
- How can the reduction algorithm be modified for the situation where the number of threads is much smaller than the number of data items that need to be reduced?
- Preparation for the next lecture
- None.
Last modified: 12 Feb 2013