Skip to main content

Module compiler

Module compiler 

Source
Expand description

Compiler trait and related types

Structs§

CompilationCache
A server’s in-memory compilation cache: the compiled artifacts it memoizes — pipelines, loaded modules — in front of a persistent compilation_store.
KernelCacheKey
Key for an entry in the persistent compilation cache.

Enums§

CompilationError
JIT compilation error.

Traits§

Compiler
Compiles the representation into its own representation that can be formatted into tokens.
CubeTask
Kernel trait with the ComputeShader that will be compiled and cached based on the provided id.

Functions§

compilation_store
A store for backend’s compiled artifacts, or None when compilation caching is disabled or the target has nowhere durable to put them.
store_compiled
Records a freshly compiled artifact, logging rather than failing.