mainMergeWGSL¶
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/mainMergeWGSL.ts for the most up-to-date information.
Overview¶
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type mainMergeWGSLOptions¶
- inputA: BufferSlot<T[]>
- inputB: BufferSlot<T[]>
- output: BufferSlot<T[]>
- workgroupSize: number
- blockOutputSize: number
- sharedMemorySize: number
should be a divisor of blockOutputSize, and ideally a multiple of workgroupSize - order: CompareOrder<T>
- lengthExpressionA: WGSLExpressionU32
- lengthExpressionB: WGSLExpressionU32
Source Code¶
See the source for mainMergeWGSL.ts in the alpenglow repository.