Expand description
Compiler trait and related types
Structs§
- Compilation
Cache - A server’s in-memory compilation cache: the compiled artifacts it memoizes
— pipelines, loaded modules — in front of a persistent
compilation_store. - Kernel
Cache Key - Key for an entry in the persistent compilation cache.
Enums§
- Compilation
Error - JIT compilation error.
Traits§
- Compiler
- Compiles the representation into its own representation that can be formatted into tokens.
- Cube
Task - Kernel trait with the
ComputeShaderthat will be compiled and cached based on the provided id.
Functions§
- compilation_
store - A store for
backend’s compiled artifacts, orNonewhen compilation caching is disabled or the target has nowhere durable to put them. - store_
compiled - Records a freshly compiled artifact, logging rather than failing.