Skip to content

mainRadixScatterWGSL

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

Overview

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

Type mainRadixScatterWGSLOptions

import type { mainRadixScatterWGSLOptions } from 'scenerystack/alpenglow';
  • input: BufferSlot<T[]>
  • histogramOffsets: BufferSlot<number[]>
  • output: BufferSlot<T[]>
  • order: BitOrder<T>
  • pass: number
  • bitsPerPass: number
  • bitsPerInnerPass: number
  • innerBitVectorSize: number
  • earlyLoad: boolean
  • lengthExpression: WGSLExpressionU32
    TODO: get option pass-through
  • loadMultipleOptions?: StrictOmit<loadMultipleWGSLOptions<T>, "loadExpression" | "loadStatements" | "storeStatements" | "type" | "workgroupSize" | "grainSize" | "lengthExpression" | "outOfRangeValue" | "inputOrder" | "inputAccessOrder">
    e.g. factorOutSubexpressions
  • & RakedSizable

Source Code

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