Expand description
Ring kernel generation for WGSL.
Generates WGSL compute shaders for ring kernel message processing. Note: WebGPU does not support true persistent kernels, so ring kernels are emulated using host-driven dispatch loops.
Structs§
- Ring
Kernel Config - Configuration for ring kernel generation.
Functions§
- generate_
control_ block_ struct - Generate the WGSL ControlBlock struct definition.
- generate_
ring_ kernel_ bindings - Generate standard ring kernel bindings.
- generate_
ring_ kernel_ preamble - Generate the ring kernel preamble (activation/termination checks).
- generate_
u64_ helpers - Generate the 64-bit helper functions.