Skip to main content

Module kernel

Module kernel 

Source
Expand description

The Kernel trait and kernel-match / cost types (§4.2).

Structs§

Cost
A cost estimate for running a kernel, consumed by the placement cost model (docs/ORT2.md §6). All time fields are in microseconds; a fuller model (roofline, calibration) lands in onnx-runtime-cost-model (Phase 2).
ViewOutput
A zero-copy view output: a kernel’s declaration that one of its outputs is a strided view aliasing one of its inputs’ buffers, rather than freshly computed bytes (docs/ORT2.md §5.4, lazy PyTorch-style views).

Enums§

KernelMatch
Result of crate::ExecutionProvider::supports_op.

Traits§

Kernel
A kernel ready to execute a specific op with specific shapes (§4.2).