File PlatformValidator.h¶
↰ Parent directory (PlatformValidator)
Contents
Definition (PlatformValidator/PlatformValidator.h)¶
Includes¶
DlSystem/DlEnums.h(File DlEnums.h)DlSystem/DlError.h(File DlError.h)DlSystem/SnpeApiExportDefine.h(File SnpeApiExportDefine.h)
Functions¶
Full File Listing¶
Typedefs
-
typedef void *Snpe_PlatformValidator_Handle_t¶
A typedef to indicate a SNPE PlatformValidator handle
Functions
-
Snpe_PlatformValidator_Handle_t Snpe_PlatformValidator_Create()¶
Creates a new Platform Validator
-
Snpe_ErrorCode_t Snpe_PlatformValidator_Delete(Snpe_PlatformValidator_Handle_t handle)¶
Destroys/frees Platform Validator
- Parameters
handle – [in] : Handle to access Platform Validator
- Returns
SNPE_SUCCESS if Delete operation successful.
-
void Snpe_PlatformValidator_SetRuntime(Snpe_PlatformValidator_Handle_t handle, Snpe_Runtime_t runtime, bool unsignedPD = true)¶
Sets the runtime processor for compatibility check.
- Returns
Void
-
int Snpe_PlatformValidator_IsRuntimeAvailable(Snpe_PlatformValidator_Handle_t handle, bool unsignedPD = true)¶
Checks if the Runtime prerequisites for SNPE are available.
- Returns
1 if the Runtime prerequisites are available, else 0.
-
const char *Snpe_PlatformValidator_GetCoreVersion(Snpe_PlatformValidator_Handle_t handle)¶
Returns the core version for the Runtime selected.
- Returns
char* which contains the actual core version value
-
const char *Snpe_PlatformValidator_GetLibVersion(Snpe_PlatformValidator_Handle_t handle)¶
Returns the library version for the Runtime selected.
- Returns
char* which contains the actual lib version value
-
int Snpe_PlatformValidator_RuntimeCheck(Snpe_PlatformValidator_Handle_t handle, bool unsignedPD = true)¶
Runs a small program on the runtime and Checks if SNPE is supported for Runtime.
- Returns
If 1, the device is ready for SNPE execution, else return 0.