Expand description
Typed, topologically ordered intermediate representations for kernels.
Re-exports§
pub use crate::KernelIrError;
Structs§
- Cache
Kernel Ir - Validated IR for a kernel that populates multiple cache outputs.
- Gradient
Kernel Ir - Validated IR containing a primal computation and real gradient outputs.
- Kernel
IrBuilder - Builder for appending type-checked instructions to existing scalar IR.
- Kernel
Value - Typed instruction and evaluation class for one kernel IR value.
- Kernel
Value Id - Stable identifier for a value in kernel IR.
- Scalar
Kernel Ir - Validated IR for a kernel with one scalar output.
Enums§
- Kernel
Instruction - Operation that produces one value in kernel IR.
- Kernel
Value Class - Whether a kernel value is constant across events or event-dependent.
- Kernel
Value Kind - Runtime shape and scalar representation of a kernel value.
- Output
Component - Scalar component of a complex primal output to differentiate.