Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
skyline75489 committed Jul 23, 2024
1 parent ef2fb77 commit 88542c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@ const char* QnnBackendManager::QnnProfileErrorToString(QnnProfile_Error_t error)
}

const char* QnnBackendManager::QnnErrorHandleToString(Qnn_ErrorHandle_t error) {
// From QNN SDK: The memory is statically owned and should not be freed by the caller.
const char* error_msg = nullptr;
if (QNN_SUCCESS == qnn_interface_.errorGetMessage(error, &error_msg)) {
return error_msg;
Expand Down

0 comments on commit 88542c1

Please sign in to comment.