Function QnnGlobalConfig_Set

Function Documentation

Qnn_ErrorHandle_t QnnGlobalConfig_Set(const QnnGlobalConfig_t **config)

A function to set global configuration settings.

Parameters

config[in] Pointer to a NULL terminated array of config option pointers. NULL is allowed and indicates no config options are provided. All config options have default value, in case not provided. If same config option type is provided multiple times, the last option value will be used.

Returns

Error code:

  • QNN_SUCCESS: no error is encountered

  • QNN_GLOBAL_CONFIG_ERROR_INVALID_CONFIG: config parameter is invalid