Enum QnnContext_ConfigOption_t¶
Defined in File QnnContext.h
Enum Documentation¶
-
enum QnnContext_ConfigOption_t¶
This enum defines context config options.
Values:
-
enumerator QNN_CONTEXT_CONFIG_OPTION_CUSTOM = 0¶
Sets context custom options via QnnContext_CustomConfig_t.
-
enumerator QNN_CONTEXT_CONFIG_OPTION_PRIORITY = 1¶
Sets the default priority for graphs in this context. QNN_GRAPH_CONFIG_OPTION_PRIORITY can be used to override this default.
-
enumerator QNN_CONTEXT_CONFIG_OPTION_ERROR_REPORTING = 2¶
Sets the error reporting level.
-
enumerator QNN_CONTEXT_CONFIG_OPTION_OEM_STRING = 3¶
Sets the string used for custom oem functionality. This config option is DEPRECATED.
-
enumerator QNN_CONTEXT_CONFIG_ASYNC_EXECUTION_QUEUE_DEPTH = 4¶
Sets async execution queue depth for all graphs in this context. This option represents the number of executions that can be in the queue at a given time before QnnGraph_executeAsync() will start blocking until a new spot is available. Queue depth is subject to a maximum limit determined by the backend and available system resources. The default depth is backend-specific, refer to SDK documentation.
-
enumerator QNN_CONTEXT_CONFIG_ENABLE_GRAPHS = 5¶
Null terminated array of null terminated strings listing the names of the graphs to deserialize from a context binary. All graphs are enabled by default. An error is generated if an invalid graph name is provided.
-
enumerator QNN_CONTEXT_CONFIG_MEMORY_LIMIT_HINT = 6¶
Sets the peak memory limit hint of a deserialized context in megabytes.
-
enumerator QNN_CONTEXT_CONFIG_PERSISTENT_BINARY = 7¶
Indicates that the context binary pointer is available during QnnContext_createFromBinary and until QnnContext_free is called.
-
enumerator QNN_CONTEXT_CONFIG_BINARY_COMPATIBILITY = 8¶
Sets the context binary check type when reading binary caches.
-
enumerator QNN_CONTEXT_CONFIG_OPTION_DEFER_GRAPH_INIT = 9¶
Defer graph deserialization till first graph retrieval.
-
enumerator QNN_CONTEXT_CONFIG_GRAPH_RETENTION_ORDER = 10¶
Enables multiple Graph switching.
-
enumerator QNN_CONTEXT_CONFIG_UNDEFINED = 0x7FFFFFFF¶
-
enumerator QNN_CONTEXT_CONFIG_OPTION_CUSTOM = 0¶