Function QnnLog_free

Function Documentation

Qnn_ErrorHandle_t QnnLog_free(Qnn_LogHandle_t logger)

A function to free the memory associated with the log handle.

Parameters

logger[in] A log handle.

Returns

Error code:

  • QNN_SUCCESS: indicates logging is terminated.

  • QNN_LOG_ERROR_MEM_ALLOC: for memory de-allocation errors.

  • QNN_LOG_ERROR_INVALID_HANDLE: logHandle is not a valid handle

Note

Use corresponding API through QnnInterface_t.