Skip to content

ParallelRasterChunkReduce

Overview

We continue the segmented reduction started in ParallelRasterInitialClip, also applying things to RasterClippedChunks, however we need to track the "left" and "right" values separately.

See docs on RasterChunkReduceQuad for the need for "left"/"right"

NOTE: The reduction is also completed in ParallelRasterInitialClip, so if changing this file, please check there too

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

Class ParallelRasterChunkReduce

import { ParallelRasterChunkReduce } from 'scenerystack/alpenglow';

Static Methods

dispatch( workgroupSize : number, inputChunkReduces : ParallelStorageArray<RasterChunkReduceQuad>, numReduces : number, clippedChunks : ParallelStorageArray<RasterClippedChunk>, outputChunkReduces : ParallelStorageArray<RasterChunkReduceQuad> ) : Promise<void>

Source Code

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