Typedef QnnAipPerfInfrastructure_SetThreadConfigFn_t¶
Defined in File QnnAipPerfInfrastructure.h
Typedef Documentation¶
-
typedef Qnn_ErrorHandle_t (*QnnAipPerfInfrastructure_SetThreadConfigFn_t)(const QnnAipPerfInfrastructure_ThreadConfig_t **config)¶
This API allows clients to set up configuration for threads.
- Param config
[in] Pointer to a NULL terminated array of config option for thread configuration. NULL is allowed and indicates no config options are provided.
- Return
Error code
QNN_SUCCESS: No error encountered
QNN_AIP_PERF_INFRASTRUCTURE_ERROR_UNSUPPORTED_CONFIG if invalid config or value passed
QNN_AIP_PERF_INFRASTRUCTURE_ERROR_INVALID_INPUT if config is NULL
QNN_AIP_PERF_INFRASTRUCTURE_ERROR_TRANSPORT if unable to set the settings in DSP
Note
This function should be called after QnnBackend_initialize and before Context and Graph calls