May 2022
Intermediate to advanced
580 pages
18h 32m
English
With special contributions from Li-Wen Chang, Juan Gómez-Luna and John Owens
This chapter introduces parallel scan (prefix sum), an important parallel computation pattern and the concept of work efficiency for parallel algorithms. It introduces three styles of kernels: Kogge-Stone, Brent-Kung, and two-phase hybrid. These kernels each present a different tradeoff in terms of work efficiency, speed, and complexity. The chapter then introduces two hierarchical parallel scan algorithms that are designed to process arbitrarily long input lists while maintaining work efficiency.
Scan; prefix sum; reduction; linear recursion; resource allocation; work ...
Read now
Unlock full access