Typedef QnnDspPerfInfrastructure_SetThreadConfigFn_t

Typedef Documentation

typedef Qnn_ErrorHandle_t (*QnnDspPerfInfrastructure_SetThreadConfigFn_t)(const QnnDspPerfInfrastructure_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_DSP_PERF_INFRASTRUCTURE_ERROR_UNSUPPORTED_CONFIG if invalid config or value passed

QNN_DSP_PERF_INFRASTRUCTURE_ERROR_INVALID_INPUT if config is NULL

QNN_DSP_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