Function Snpe_Util_IsRuntimeAvailableForDevice¶
Defined in File SNPEUtil.h
Function Documentation¶
-
int Snpe_Util_IsRuntimeAvailableForDevice(Snpe_Runtime_t runtime, uint32_t deviceId)¶
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.
deviceId – [in] deviceId in case of multi NSP devices.
- Returns
Boolean: Non-zero if the supplied runtime is available; 0 otherwise