Function Snpe_Util_IsRuntimeAvailableCheckOption¶
Defined in File SNPEUtil.h
Function Documentation¶
-
int Snpe_Util_IsRuntimeAvailableCheckOption(Snpe_Runtime_t runtime, Snpe_RuntimeCheckOption_t runtimeCheckOption)¶
Indicates whether the supplied runtime is available on the current platform.
Note: It is advised to use this function to check DSP availability. If the DSP is not already initialized, it will conduct the initialization - therefore, please ensure that the appropriate arguments are passed, where relevant.
- Parameters
runtime – [in] The target runtime to check.
runtimeCheckOption – [in] Extent to perform runtime available check.
- Returns
Boolean: Non-zero if the supplied runtime is available; 0 otherwise