Function Snpe_Util_SetSNPEStorageLocation

Function Documentation

int Snpe_Util_SetSNPEStorageLocation(const char *storagePath)

Set the SNPE storage location for all SNPE instances in this process. Note that this may only be called once, and if so must be called before creating any SNPE instances.

Parameters

storagePath[in] Absolute path to a directory which SNPE may use for caching and other storage purposes.

Returns

Boolean: Non-zero if the supplied path was succesfully set as the SNPE storage location, 0 otherwise.