Skip to content

loadMultipleWGSL

Overview

Loads data (usually from main memory) with multiple values per thread, storing them typically in shared memory. Notably supports larger sizes than the workgroup size.

grainSize controls how many items are loaded per thread.

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

Type loadMultipleWGSLOptions

import type { loadMultipleWGSLOptions } from 'scenerystack/alpenglow';

Source Code

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