Expand description
Per-kernel compute-pipeline cache.
Every kernel shares one descriptor-set layout (a single storage buffer = the arena, at binding 0) and one pipeline layout (that DSL + a 128-byte push-constant range, the Vulkan-guaranteed minimum). Per-op parameters (offsets, dims, selectors) travel entirely through push constants, so a single descriptor set bound to the arena serves every dispatch. Compute pipelines are compiled lazily from the embedded SPIR-V and cached.
Structs§
Constants§
- PUSH_
CONSTANT_ BYTES - Push-constant block size in bytes (Vulkan guarantees ≥ 128).
Functions§
- kernels
- The process-wide kernel cache, or
Noneif no device.