Function Snpe_UserMemoryMap_Add¶
Defined in File UserMemoryMap.h
Function Documentation¶
-
Snpe_ErrorCode_t Snpe_UserMemoryMap_Add(Snpe_UserMemoryMap_Handle_t handle, const char *name, void *address)¶
Adds a name and the corresponding buffer address to the map.
- Parameters
handle – [in] : Handle to access UserMemory Map
name – [in] : The name of the UserMemory
address – [in] : The pointer to the buffer memory. The addess is assumed to be DSP Fast RPC allocated memory (libcdsprpc.so/dll)
Note
If a UserBuffer with the same name already exists, the new address would be added to the map along with the existing entries.