Skip to content

Commit

Permalink
Update QnnSampleAppUtils.hpp
Browse files Browse the repository at this point in the history
Signed-off-by: quic-zhanweiw <[email protected]>
  • Loading branch information
quic-zhanweiw authored Jun 25, 2024
1 parent d0adc49 commit b7c2d64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions LibQNNHelper/src/Utils/QnnSampleAppUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <tuple>
#include <unordered_map>
#include <vector>
#include "Logger.hpp"

#include "SampleApp.hpp"

Expand Down Expand Up @@ -71,10 +72,11 @@ bool deepCopyQnnTensorInfo(Qnn_Tensor_t *dst, const Qnn_Tensor_t *src);
QnnLog_Level_t parseLogLevel(std::string logLevelString);

void inline exitWithMessage(std::string &&msg, int code) {
std::cerr << msg << std::endl;
// std::cerr << msg << std::endl;
QNN_ERROR(msg.c_str());
std::exit(code);
}

} // namespace sample_app
} // namespace tools
} // namespace qnn
} // namespace qnn

0 comments on commit b7c2d64

Please sign in to comment.