hi_mpi_dvpp_free

The Ascend 310 AI Processor does not support this API.

The Ascend 910 AI Processor does not support this API.

Description

Frees device memory.

hi_mpi_dvpp_free frees only memory allocated by the hi_mpi_dvpp_malloc call.

Prototype

hi_s32 hi_mpi_dvpp_free(hi_void *dev_ptr)

Parameters

Parameter

Input/Output

Description

dev_ptr

Input

Pointer to memory to free.

Returns

  • 0: success
  • Other values: failure