メインコンテンツまでスキップ

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

Retired options retained for source compatibility; leave at defaults. More...

intasync_queue_depth = 0

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

intkernel_runner_a65_workers = 2

Graph-owned A65 numerical workers (1..64), independent of EV74 progress. 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 357 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 409 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 403 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. For fused realtime source fan-in, 0 preserves the single-chain consumer path and a positive value inserts bounded, non-leaky queues before CVU, MLA, and decode stages (never before the terminal Output). The numerical Runner also derives its bounded execution capacity from this value (1..64, with 0 selecting four slots). This does not override the MLA output pool or RunOptions::queue_depth.

Definition at line 393 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 358 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 361 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 363 of file GraphOptions.h.

kernel_runner_a65_workers​

int simaai::neat::GraphOptions::kernel_runner_a65_workers = 2

Graph-owned A65 numerical workers (1..64), independent of EV74 progress.

Created only for graphs with A65 kernels and parked without CPU use while idle. The bounded pool is retained across frame submission and flushes.

Definition at line 398 of file GraphOptions.h.

prepared_runner​

PreparedRunnerOptions simaai::neat::GraphOptions::prepared_runner

Retired options retained for source compatibility; leave at defaults.

Definition at line 383 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 377 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 373 of file GraphOptions.h.

processmla​

ProcessMlaOptions simaai::neat::GraphOptions::processmla

MLA stage execution options.

Definition at line 380 of file GraphOptions.h.

verbose​

VerboseOptions simaai::neat::GraphOptions::verbose

Diagnostic verbosity for this Graph.

Definition at line 365 of file GraphOptions.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.