Skip to content

mainRadixScatterWGSL

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.