GraphOptions Struct
Per-Graph construction options. More...
Declaration
Included Headers
Public Member Functions Index
| void | resolve_advanced_execution () |
|
Apply any explicitly-set advanced_execution fields onto the legacy execution fields. More... | |
Public Member Attributes Index
| int | callback_timeout_ms = 1000 |
|
Maximum time a user callback (e.g., set_tensor_callback) may take before the framework intervenes. More... | |
| std::string | element_name_prefix |
|
Prefix prepended to every generated GStreamer element name (sanitized to valid characters). More... | |
| std::string | element_name_suffix |
|
Suffix appended to every generated GStreamer element name (sanitized to valid characters). More... | |
| VerboseOptions | verbose |
| std::string | processcvu_requested_run_target = "AUTO" |
|
Requested backend for model-managed processcvu generic-EV stages. More... | |
| ProcessCvuOptions | processcvu |
|
Simple pre/post process-CVU placement. More... | |
| ProcessMlaOptions | processmla |
|
MLA stage execution options. More... | |
| PreparedRunnerOptions | prepared_runner |
|
Experimental prepared-route runner. Defaults off. More... | |
| int | async_queue_depth = 0 |
|
Depth for internally inserted async queue2 elements. More... | |
| AdvancedExecutionOptions | advanced_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()
| 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
|
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
|
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
|
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
|
Prefix prepended to every generated GStreamer element name (sanitized to valid characters).
Definition at line 330 of file GraphOptions.h.
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
|
Experimental prepared-route runner. Defaults off.
Definition at line 352 of file GraphOptions.h.
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
|
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
|
MLA stage execution options.
Definition at line 349 of file GraphOptions.h.
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.