Updated on 2022-03-13 GMT+08:00

HIAIMemory::HIAI_DVPP_DFree

Releases the memory allocated by the HIAIMemory::HIAI_DVPP_DMalloc interface. This API is defined in ai_memory.h.

Syntax

HIAI_StatusT HIAI_DVPP_DFree(void* dataBuffer)

Parameter Description

Parameter

Description

Value Range

dataBuffer

Address of the memory to be released

-

Return Value

For details about the returned error codes, see "Error Codes."

Error Codes

No.

Error Code

Description

1

HIAI_OK

The running is OK.

2

HIAI_GRAPH_NOT_EXIST

The graph does not exist.

3

HIAI_GRAPH_INVALID_VALUE

The graph has an invalid value.

4

HIAI_GRAPH_NOT_FIND_MEMORY

The memory cannot be found.