Typedef Qnn_ContextBinaryDmaDataReleaseFn_t¶
Defined in File QnnContext.h
Typedef Documentation¶
-
typedef Qnn_ErrorHandle_t (*Qnn_ContextBinaryDmaDataReleaseFn_t)(Qnn_ContextBinaryDmaDataMem_t dmaDataMem, void *notifyParam)¶
A client-defined callback function to release context binary data in a dma buffer.
- Param dmaDataMem
[in] A structure holding properties of the dma buffer.
- Param notifyParam
[in] Client-supplied data object which may be used to identify which context’s instance this callback applies to.
- Return
Error code:
QNN_SUCCESS: no error is encountered
QNN_CONTEXT_ERROR_MEM_ALLOC: memory allocation error
QNN_CONTEXT_ERROR_INVALID_ARGUMENT: one of the arguments to the API is invalid/NULL