Struct QnnContext_Config_t

Nested Relationships

Struct Documentation

struct QnnContext_Config_t

This struct provides context configuration.

Public Members

QnnContext_ConfigOption_t option
union unnamed

Public Members

QnnContext_CustomConfig_t customConfig

Used with QNN_CONTEXT_CONFIG_OPTION_CUSTOM.

Qnn_Priority_t priority

Used with QNN_CONTEXT_CONFIG_OPTION_PRIORITY.

Qnn_ErrorReportingConfig_t errorConfig

Used with QNN_CONTEXT_CONFIG_OPTION_ERROR_REPORTING.

const char *oemString

DEPRECATED. Used with QNN_CONTEXT_CONFIG_OPTION_OEM_STRING.

QnnContext_AsyncExecutionQueueDepth_t asyncExeQueueDepth

Used with QNN_CONTEXT_CONFIG_ASYNC_EXECUTION_QUEUE_DEPTH.

const char *const *enableGraphs

Used with QNN_CONTEXT_CONFIG_ENABLE_GRAPHS.

uint64_t memoryLimitHint

Used with QNN_CONTEXT_CONFIG_MEMORY_LIMIT_HINT.

uint8_t isPersistentBinary

Used with QNN_CONTEXT_CONFIG_PERSISTENT_BINARY.

QnnContext_BinaryCompatibilityType_t binaryCompatibilityType

Used with QNN_CONTEXT_CONFIG_BINARY_COMPATIBILITY.

uint8_t isGraphInitDeferred

Used with QNN_CONTEXT_CONFIG_OPTION_DEFER_GRAPH_INIT.

const char *const *graphRetentionOrder

Used with QNN_CONTEXT_CONFIG_GRAPH_RETENTION_ORDER.