coalescedLoopWGSL¶
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.