Skip to content

ParallelRasterSplitScan

Overview

Multiple stream compaction for chunks: distributes the relevant data from the clipped chunks to the reducible and complete chunks, and generates the chunkIndexMap.

NOTE: Has similar code to ParallelRasterEdgeScan

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

Class ParallelRasterSplitScan

import { ParallelRasterSplitScan } from 'scenerystack/alpenglow';

Static Methods

dispatch( workgroupSize : number, clippedChunks : ParallelStorageArray<RasterClippedChunk>, splitReduces0 : ParallelStorageArray<RasterSplitReduceData>, splitReduces1 : ParallelStorageArray<RasterSplitReduceData>, splitReduces2 : ParallelStorageArray<RasterSplitReduceData>, numClippedChunks : number, reducibleChunks : ParallelStorageArray<RasterChunk>, completeChunks : ParallelStorageArray<RasterCompleteChunk>, chunkIndexMap : ParallelStorageArray<number>, debugReduces : ParallelStorageArray<RasterSplitReduceData> ) : Promise<void>

Source Code

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