Function Snpe_PlatformConfig_SetPlatformOptionValue¶
Defined in File PlatformConfig.h
Function Documentation¶
-
int Snpe_PlatformConfig_SetPlatformOptionValue(Snpe_PlatformConfig_Handle_t handle, const char *optionName, const char *value)¶
Sets the platform options.
- Parameters
handle – [in] : Handle needed to access the platformConfig
optionName – [in] : Name of platform options”
value – [in] : Value of specified optionName
- Returns
If 1, add “optionName:value” to platform options if optionName don’t exist, otherwise update the value of specified optionName. If 0, the platform options will not be changed.
Note
the returned string will be invalidated by subsequent calls to this function