hbUCPMalloc

int32_t hbUCPMalloc(hbUCPSysMem *mem, uint64_t size, int32_t deviceId);

Apply the 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.