DOE OSTI · 1532070
Single-pass parallel prefix scan with dynamic look back
Abstract
One embodiment of the present invention performs a parallel prefix scan in a single pass that incorporates variable look-back. A parallel processing unit (PPU) subdivides a list of inputs into sequentially-ordered segments and assigns each segment to a streaming multiprocessor (SM) included in the PPU. Notably, the SMs may operate in parallel. Each SM executes write operations on a segment descriptor that includes the status, aggregate, and inclusive-prefix associated with the assigned segment. Further, each SM may execute read operations on segment descriptors associated with other segments. In operation, each SM may perform reduction operations to determine a segment-wide aggregate, may perform look-back operations across multiple preceding segments to determine an exclusive-prefix, and may perform a scan seeded with the exclusive prefix to generate output data. Advantageously, the PPU performs one read operation per input, thereby reducing the time required to execute the prefix scan relative to prior-art parallel implementations.
Keep this discovery
Explore connections, maps & timelines
Merrill, Duane. 2018-03-27. Single-pass parallel prefix scan with dynamic look back. https://www.osti.gov/biblio/1532070
Cite the original work for its findings. Save a collection to share your selection of sources.