Institute for Data Analysis and Visualization
Scan Primitives for GPU Computing
- Author(s): Sengupta, Shubhabrata
- Harris, Mark
- Zhang, Yao
- Owens, John D.
- et al.
Published Web Locationhttps://doi.org/10.2312/EGGH/EGGH07/097-106
The scan primitives are powerful, general-purpose data-parallel primitives that are building blocks for a broad range of applications. We describe GPU implementations of these primitives, specifically an efficient formulation and implementation of segmented scan, on NVIDIA GPUs using the CUDA API. Using the scan primitives, we show novel GPU implementations of quicksort and sparse matrix-vector multiply, and analyze the performance of the scan primitives, several sort algorithms that use the scan primitives, and a graphical shallow-water fluid simulation using the scan framework for a tridiagonal matrix solver.