hi_mpi_dvpp_free

Applicability

Product

Supported

Atlas A3 training products / Atlas A3 inference products

Atlas A2 training products / Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

x

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

See Also

For details about the API call sequence and example, see DVPP Image/Video Processing (V2).