oa::SemanticGraph
Canonical semantic graph. It is deliberately independent of vulkan and of executable dispatch descriptions so graph compilation can decompose, fuse, partition, place, and schedule without losing public operation semantics.
Public Methods
oa::Result<oa::U32> oa::SemanticGraph::addOp(const oa::OpContract & inContract, oa::Span<const oa::U32> inInputs, oa::Span<const oa::U32> inOutputs, oa::Span<const oa::U32> inControlDependencies = = {}, oa::Span<const oa::OpAttribute> inAttributes = = {})oa::Status oa::SemanticGraph::attachAutograd(oa::U32 inForwardOp, oa::U32 inOutputIndex, oa::U64 inSequence)Public Method Documentation
No public source comment is attached to this declaration.
Parameters
inContractconst oa::OpContract &—
inInputsoa::Span<const oa::U32>—
inOutputsoa::Span<const oa::U32>—
inControlDependenciesoa::Span<const oa::U32>Default: = {}
inAttributesoa::Span<const oa::OpAttribute>Default: = {}
Returns
oa::Result<oa::U32>The declared return value.
No public source comment is attached to this declaration.
Parameters
inValueconst oa::SemanticValueDesc &—
Returns
oa::Result<oa::U32>The declared return value.
No public source comment is attached to this declaration.
Parameters
inSourceoa::U32—
inViewoa::U32—
inByteOffsetoa::I64—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inForwardOpoa::U32—
inOutputIndexoa::U32—
inSequenceoa::U64—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::Span<const oa::SemanticAutogradDesc>The declared return value.
No public source comment is attached to this declaration.
Parameters
inForwardOpoa::U32—
inSequenceoa::U64—
inBackwardFirstOpoa::U32—
inBackwardOpCountoa::U32—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inSourceconst oa::SemanticGraph &—
Returns
oa::StatusThe declared return value.
Deterministic and handle-free evidence for graph/compiler tests.
Parameters
inNameoa::StringViewDefault: ""
Returns
oa::StringThe declared return value.
No public source comment is attached to this declaration.
Parameters
inIdoa::U32—
Returns
const oa::SemanticValueDesc *The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U64The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Returns
oa::Span<const oa::SemanticOpDesc>The declared return value.
No public source comment is attached to this declaration.
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Returns
oa::Span<const oa::SemanticValueDesc>The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.