Task Parallelism
Task parallelism is a parallel execution pattern in which multiple threads perform different operations on separate data items. Covered in ECE459 L17.
Why split it this way?
The work has distinct stages with different logic. Each thread specializes in its stage and data flows between them, like an assembly line.
Example from lecture: one thread renders frames, another compresses frames and combines them into a movie file.
Contrast with data parallelism, where every thread runs the same computation on different data.
Real programs are usually a mix: task-parallel stages at the top, data-parallel work inside each stage.