oa::ExecutionPlan

move-only compiled executable work captured by oa::Engine. The plan borrows its engine and owns the graph and retained resources through exact completion. Destruction never waits: submitted work transfers to engine retirement.

Public Methods

oa::Result<oa::ExecutionBindingDesc> oa::ExecutionPlan::binding(oa::U32 inSlot)
oa::U64 oa::ExecutionPlan::bindingContractHash()
oa::U32 oa::ExecutionPlan::bindingCount()
oa::U32 oa::ExecutionPlan::dnnAppliedPartitionCount()
oa::U32 oa::ExecutionPlan::dnnCapturedOpCount()
oa::U32 oa::ExecutionPlan::dnnFallbackPartitionCount()
oa::U64 oa::ExecutionPlan::dnnGraphHash()
oa::U32 oa::ExecutionPlan::dnnInheritedPartitionCount()
oa::U32 oa::ExecutionPlan::dnnPartitionCount()
oa::U32 oa::ExecutionPlan::dnnRecognizedPartitionCount()
oa::U32 oa::ExecutionPlan::dnnSourceOpCount()
oa::U32 oa::ExecutionPlan::dnnUnexpectedFallbackCount()
oa::U32 oa::ExecutionPlan::inputBindingCount()
oa::Bool oa::ExecutionPlan::isCompiled()
oa::U32 oa::ExecutionPlan::nodeCount()
oa::U32 oa::ExecutionPlan::outputBindingCount()
oa::Result<oa::Vector<oa::U8>> oa::ExecutionPlan::serializeDescriptor()
oa::Status oa::ExecutionPlan::validateSerializedDescriptor(oa::Span<const oa::U8> inDescriptor)
oa::Status oa::ExecutionPlan::validateSpecializationInputs(oa::Span<const oa::Matrix> inInputs)

Constructor & Destructor Documentation

oa::ExecutionPlan::ExecutionPlan()
No public source comment is attached to this declaration.
void oa::ExecutionPlan::~ExecutionPlan()
No public source comment is attached to this declaration.

Public Method Documentation

oa::Result<oa::ExecutionBindingDesc> oa::ExecutionPlan::binding( oa::U32 inSlot )
No public source comment is attached to this declaration.

Parameters

inSlot
oa::U32

Returns

oa::Result<oa::ExecutionBindingDesc>

The declared return value.

oa::U64 oa::ExecutionPlan::bindingContractHash()
No public source comment is attached to this declaration.

Returns

oa::U64

The declared return value.

oa::U32 oa::ExecutionPlan::bindingCount()
Exact input/output contract for shape-specialization selection. Dynamic dimensions select or recapture another checked plan; they do not mutate this plan's recorded command buffers. validateSpecializationInputs is the Matrix-specific exact shape/layout/dtype check; non-Matrix inputs require a kind-specific validator. Validation deliberately does not rebind resources.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::dnnAppliedPartitionCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::dnnCapturedOpCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::dnnFallbackPartitionCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U64 oa::ExecutionPlan::dnnGraphHash()
Read-only graph-compiler evidence. These queries do not expose or control kernel/vendor selection and remain stable across plan replay.

Returns

oa::U64

The declared return value.

oa::U32 oa::ExecutionPlan::dnnInheritedPartitionCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::dnnPartitionCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::dnnRecognizedPartitionCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::dnnSourceOpCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::dnnUnexpectedFallbackCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::inputBindingCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::Bool oa::ExecutionPlan::isCompiled()
No public source comment is attached to this declaration.

Returns

oa::Bool

The declared return value.

oa::U32 oa::ExecutionPlan::nodeCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::U32 oa::ExecutionPlan::outputBindingCount()
No public source comment is attached to this declaration.

Returns

oa::U32

The declared return value.

oa::Result<oa::Vector<oa::U8>> oa::ExecutionPlan::serializeDescriptor()
Deterministic, opaque identity for this compiled plan. The descriptor contains semantic, provider, device/driver, kernel and logical resource contracts. It never contains Vulkan handles, addresses, bindless slots or recorded command buffers. A fresh compiled plan can validate the descriptor before application code reuses checkpoint/cache metadata.

Returns

oa::Result<oa::Vector<oa::U8>>

The declared return value.

oa::Status oa::ExecutionPlan::validateSerializedDescriptor( oa::Span<const oa::U8> inDescriptor )
No public source comment is attached to this declaration.

Parameters

inDescriptor
oa::Span<const oa::U8>

Returns

oa::Status

The declared return value.

oa::Status oa::ExecutionPlan::validateSpecializationInputs( oa::Span<const oa::Matrix> inInputs )
No public source comment is attached to this declaration.

Parameters

inInputs
oa::Span<const oa::Matrix>

Returns

oa::Status

The declared return value.