Skip to main content
eScholarship
Open Access Publications from the University of California

Scan Primitives for GPU Computing

  • Author(s): Sengupta, Shubhabrata
  • Harris, Mark
  • Zhang, Yao
  • Owens, John D.
  • et al.
Abstract

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.

Main Content
Current View