Enum QnnGraph_ConfigOption_t¶
Defined in File QnnGraph.h
Enum Documentation¶
-
enum QnnGraph_ConfigOption_t¶
This enum defines graph config options.
Values:
-
enumerator QNN_GRAPH_CONFIG_OPTION_CUSTOM = 0¶
Sets backend custom configs, see backend specific documentation.
-
enumerator QNN_GRAPH_CONFIG_OPTION_PRIORITY = 3¶
Sets priority of a graph within the context. This config overrides QNN_CONTEXT_CONFIG_OPTION_PRIORITY which provides the default graph priority.
-
enumerator QNN_GRAPH_CONFIG_OPTION_PROFILE_HANDLE = 4¶
Enables continuous profiling of a graph. This can include finalize and execute data. The profile handle will be bound to the graph until a new handle is bound or the graph has been freed. This feature is mutually exclusive with the per-API profile handles. A Qnn_ProfileHandle_t bound to a graph can be concurrently used with QnnProfile_get* APIs. A Qnn_ProfileHandle_t may only be bound to one graph at a time. A different Qnn_ProfileHandle_t may be bound to the graph via QnnGraph_setConfig.
-
enumerator QNN_GRAPH_CONFIG_OPTION_SET_PROFILING_STATE = 5¶
Sets the profiling state of a graph. This config should only be used in conjunction with profiling handles bound with QNN_GRAPH_CONFIG_OPTION_PROFILE_HANDLE. The behaviour is that the profiling data is only collected when the state is enabled. Setting the state to disabled causes the profiling data collection to cease. The default state is QNN_GRAPH_PROFILING_STATE_ENABLED.
-
enumerator QNN_GRAPH_CONFIG_OPTION_SET_PROFILING_NUM_EXECUTIONS = 6¶
Sets the maximum number of QnnGraph_execute/QnnGraph_executeAsync calls that will be profiled. This config should only be used in conjunction with profiling handles bound with QNN_GRAPH_CONFIG_OPTION_PROFILE_HANDLE. The default is the QnnGraph_Config_t::numProfilingExecutions maximum numerical limit.
-
enumerator QNN_GRAPH_CONFIG_OPTION_UNDEFINED = 0x7FFFFFFF¶
-
enumerator QNN_GRAPH_CONFIG_OPTION_CUSTOM = 0¶