Typedef Qnn_ContextBinaryRawDataReleaseFn_t¶
Defined in File QnnContext.h
Typedef Documentation¶
-
typedef Qnn_ErrorHandle_t (*Qnn_ContextBinaryRawDataReleaseFn_t)(Qnn_ContextBinaryRawDataMem_t rawDataMem, void *notifyParam)¶
A client-defined callback function to release context binary data in a raw buffer.
- Param rawDataMem
[in] A structure holding properties of the raw 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