Function Snpe_Util_IsRuntimeAvailable

Function Documentation

int Snpe_Util_IsRuntimeAvailable(Snpe_Runtime_t runtime)

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.

Returns

Boolean: Non-zero if the supplied runtime is available; 0 otherwise