Skip to content

ParallelRasterSplitReduce

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/parallel/raster-clip/ParallelRasterSplitReduce.ts for the most up-to-date information.

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.