coalescedLoopWGSL¶
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/webgpu/wgsl/gpu/coalescedLoopWGSL.ts for the most up-to-date information.
Overview¶
A simple unrolled loop that provides both a "blocked" and "striped" (coalesced) index for each iteration.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type coalescedLoopWGSLOptions¶
- callback: ( localIndex: WGSLExpressionU32, dataIndex: WGSLExpressionU32 ) => WGSLStatements
- & RakedSizable & OptionalLengthExpressionable & WorkgroupIndexable & LocalIndexable
Source Code¶
See the source for coalescedLoopWGSL.ts in the alpenglow repository.