2008 · 129 citations · 13 references
ComputingComputer ScienceHigh-performance ComputingComputer GraphicsParallel AlgorithmsParallel ComputingData ParallelismGraphics Processing Unit ArchitectureGraphics Processing Unit ComputingGraphics Processing UnitsParallel ArchitecturesParallel Data StructuresBank ConflictsGpu ArchitectureGpu Parallel AlgorithmsMemory Bank ConflictsSegmented ScanShared Memory Bank ConflictsShared-memory AlgorithmsWork-efficient Algorithms
Scan and segmented scan are important data-parallel primitives for a wide range of applications. We present fast, work-efficient algorithms for these primitives on graphics processing units (GPUs). We use novel data representations that map well to the GPU architecture. Our algorithms exploit shared memory to improve memory performance. We further improve the performance of our algorithms by eliminating shared-memory bank conflicts and reducing the overheads in prior shared-memory GPU algorithms. Furthermore, our algorithms are designed to work well on general data sets, including segmented arrays with arbitrary segment lengths. We also present optimizations to improve the performance of segmented scans based on the segment lengths. We implemented our algorithms on a PC with an NVIDIA GeForce 8800 GPU and compared our results with prior GPU-based algorithms. Our results indicate up to 10x higher performance over prior algorithms on input sequences with millions of elements.
13
Parallel Prefix Sum (Scan) with CUDA
Mark Harris · 2011 · 542 citations
Scan Primitives for GPU Computing
eScholarship (California Digital Library) · 2007 · 513 citations · Full text
Prefix sums and their applications
Guy E. Blelloch · Figshare · 2018 · 383 citations · Full text
Jacob T. Schwartz · ACM Transactions on Programming Languages and Systems · 1980 · 288 citations