Expand description
Resident persistent-kernel queue engine. Persistent-kernel queue execution for wgpu compute pipelines.
This module provides host-side queue management and GPU dispatch for persistent kernels. A persistent pipeline is compiled once and reused across multiple work items, with only buffer contents changing between calls. If the wgpu device is lost, the backend recovers and the pipeline is recompiled automatically.
Structs§
- Persistent
Kernel Report - Resident-kernel execution summary.
- Persistent
Payload Work Item - One unit of persistent-kernel work.
- Persistent
Queue - GPU-side queue contract for persistent kernels.
- Work
Result - Output produced for one persistent-kernel work item.
Functions§
- run_
persistent_ kernel - Compile a persistent pipeline and drain
queuethrough the GPU.