hi_mpi_dvpp_free

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Frees device memory.

The hi_mpi_dvpp_free interface can release only the memory that is applied for through the hi_mpi_dvpp_malloc interface.

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

See Also

For details about the API call sequence and example, see DVPP image/video processing.