Skip to navigation

holoscan::PayloadOptions

Beta
View as Markdown

Carry producer-side schema and interface Tensor materialization intent.

Omitting this carrier resolves to InterfaceTensorEmitPolicy::kRequireExportable with no inline cap. When producer and boundary carriers both apply, one explicit side supplies the effective policy, identical sides agree, and a policy/cap mismatch rejects the edge. max_inline_bytes is required and positive only for InterfaceTensorEmitPolicy::kInlineSmallHostThenCopyIfNeeded; every non-inline policy rejects an inline cap. max_tensor_byte_span bounds staging for a Tensor-bearing schema whose foreign emit policy permits copying.

#include <holoscan/payload_options.hpp>

Member variables

NameTypeDescription
schemastd::optional< SchemaIdentity >Complete semantic identity, never a compact id alone.
max_inline_bytesstd::optional< std::uint32_t >Positive logical-byte cap for inline policy.
max_tensor_byte_spanstd::optional< std::uint64_t >Positive embedded-Tensor staging bound.
interface_tensor_emit_policyInterfaceTensorEmitPolicyOmitted baseline policy is fail-closed.