S100 OpenExplorer

# #hbUCPMallocCached

`int32_t hbUCPMallocCached(hbUCPSysMem *mem, uint64_t size, int32_t deviceId);`

Apply the cached system memory.

- Parameter

  - [out] `mem` Memory pointer.
  - [in] `size` Size of the requested memory.
  - [in] `deviceId` Reserved parameter.

- Return Value

  - Return `0` means the API was successfully executed, otherwise the execution failed.

On This Page