Function QnnError_freeVerboseMessage

Function Documentation

Qnn_ErrorHandle_t QnnError_freeVerboseMessage(const char *errorMessage)

Inform QNN backend that the memory associated with the verbose message returned by a previous call to QnnError_getVerboseMessage will no longer be accessed by the caller and may be freed.

Parameters

errorMessage[in] Address of character buffer returned in previous call to QnnError_getVerboseMessage.

Returns

Error code:

  • QNN_SUCCESS: backend acknowledges the caller will no longer access memory associated with previous call to QnnError_getVerboseMessage

  • QNN_ERROR_INVALID_ARGUMENT: errorMessage is null or unrecognized