Skip to main content

GraphOptions Struct

Per-Graph construction options. More...

Declaration

struct simaai::neat::GraphOptions { ... }

Included Headers

#include <GraphOptions.h>

Public Member Functions Index

voidresolve_advanced_execution ()

Apply any explicitly-set advanced_execution fields onto the legacy execution fields. More...

Public Member Attributes Index

intcallback_timeout_ms = 1000

Maximum time a user callback (e.g., set_tensor_callback) may take before the framework intervenes. More...

std::stringelement_name_prefix

Prefix prepended to every generated GStreamer element name (sanitized to valid characters). More...

std::stringelement_name_suffix

Suffix appended to every generated GStreamer element name (sanitized to valid characters). More...

VerboseOptionsverbose

Diagnostic verbosity for this Graph. More...

std::stringprocesscvu_requested_run_target = "AUTO"

Requested backend for model-managed processcvu generic-EV stages. More...

ProcessCvuOptionsprocesscvu

Simple pre/post process-CVU placement. More...

ProcessMlaOptionsprocessmla

MLA stage execution options. More...

PreparedRunnerOptionsprepared_runner

Experimental prepared-route runner. Defaults off. More...

intasync_queue_depth = 0

Depth for internally inserted async queue2 elements. More...

AdvancedExecutionOptionsadvanced_execution

Preferred jargon-free execution surface. More...

Description

Per-Graph construction options.

Passed to Graph(opt).

Most fields default to sensible values. Set element_name_prefix/element_name_suffix when running multiple Graphs in one process to avoid GStreamer element-name collisions.

Definition at line 326 of file GraphOptions.h.

Public Member Functions

resolve_advanced_execution()

void simaai::neat::GraphOptions::resolve_advanced_execution ()
inline

Apply any explicitly-set advanced_execution fields onto the legacy execution fields.

Unconditional assignment on has_value() — an explicit false/0/token overrides even a truthy legacy default. No-op when nothing is set; idempotent. Call once before the options are consumed (the Graph constructor does this) so serialized/effective config reflects intent.

Definition at line 368 of file GraphOptions.h.

Public Member Attributes

advanced_execution

AdvancedExecutionOptions simaai::neat::GraphOptions::advanced_execution

Preferred jargon-free execution surface.

Folded into the legacy fields above by resolve_advanced_execution() (called from the Graph constructor). Default is all-unset, so it is a no-op unless the caller sets a field.

Definition at line 362 of file GraphOptions.h.

async_queue_depth

int simaai::neat::GraphOptions::async_queue_depth = 0

Depth for internally inserted async queue2 elements.

0 keeps the legacy default/diagnostic environment fallback; positive values are used as-is and are the preferred production control.

Definition at line 357 of file GraphOptions.h.

callback_timeout_ms

int simaai::neat::GraphOptions::callback_timeout_ms = 1000

Maximum time a user callback (e.g., set_tensor_callback) may take before the framework intervenes.

Definition at line 327 of file GraphOptions.h.

element_name_prefix

std::string simaai::neat::GraphOptions::element_name_prefix

Prefix prepended to every generated GStreamer element name (sanitized to valid characters).

Definition at line 330 of file GraphOptions.h.

element_name_suffix

std::string simaai::neat::GraphOptions::element_name_suffix

Suffix appended to every generated GStreamer element name (sanitized to valid characters).

Definition at line 332 of file GraphOptions.h.

prepared_runner

PreparedRunnerOptions simaai::neat::GraphOptions::prepared_runner

Experimental prepared-route runner. Defaults off.

Definition at line 352 of file GraphOptions.h.

processcvu

ProcessCvuOptions simaai::neat::GraphOptions::processcvu

Simple pre/post process-CVU placement.

These values take priority over the legacy coarse processcvu_requested_run_target when non-AUTO.

Definition at line 346 of file GraphOptions.h.

processcvu_requested_run_target

std::string simaai::neat::GraphOptions::processcvu_requested_run_target = "AUTO"

Requested backend for model-managed processcvu generic-EV stages.

"AUTO" (default) lets core resolve per-stage, preferring A65 when a generic-EV graph has A65 support and otherwise the EV74 path. Set explicitly to "EV74" or "A65" to force a backend.

Definition at line 342 of file GraphOptions.h.

processmla

ProcessMlaOptions simaai::neat::GraphOptions::processmla

MLA stage execution options.

Definition at line 349 of file GraphOptions.h.

verbose

VerboseOptions simaai::neat::GraphOptions::verbose

Diagnostic verbosity for this Graph.

Definition at line 334 of file GraphOptions.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.