ParallelRasterSplitScan¶
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/ParallelRasterSplitScan.ts for the most up-to-date information.
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¶
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.