Expand description
TensorKernelRegistry — a registry of computational kernels (named tensor
operations with metadata), enabling dynamic kernel lookup, versioning, and
capability-based selection.
§Overview
The registry stores KernelDescriptor entries keyed by a monotonically
increasing u64 identifier. Callers may:
TensorKernelRegistry::register— add a new kernel and obtain its id.TensorKernelRegistry::lookup— query by name/precision/target/tag.TensorKernelRegistry::best_for— select the most capable kernel for a given name+precision combination (Simd > Cpu > Gpu > Generic, then highest version).TensorKernelRegistry::remove/TensorKernelRegistry::get— remove or retrieve individual entries.TensorKernelRegistry::stats— observe aggregate counters.
Structs§
- Kernel
Descriptor - Metadata record for a single computational kernel.
- Kernel
Query - Filter criteria for
TensorKernelRegistry::lookup. - Kernel
Registry Stats - Aggregate statistics for a
TensorKernelRegistry. - Tensor
Kernel Registry - Registry of computational kernels with dynamic lookup and versioning.
Enums§
- Kernel
Precision - Numeric precision of a kernel’s computation.
- Kernel
Target - Execution target for a kernel.