Skip to content

ParallelRasterSplitReduce

Overview

Takes the input reductions and computes the inclusive prefix sum (scan) into it, in a form that can be used for computing the exclusive prefix sum (zeros the last element). Outputs the reduction of the entire input into the output reduces.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class ParallelRasterSplitReduce

import { ParallelRasterSplitReduce } from 'scenerystack/alpenglow';

Static Methods

dispatch( workgroupSize : number, numReduces : number, inputReduces : ParallelStorageArray<RasterSplitReduceData>, outputReduces : ParallelStorageArray<RasterSplitReduceData> ) : Promise<void>

Source Code

See the source for ParallelRasterSplitReduce.ts in the alpenglow repository.