Skip to content

Commit b160e8c

Browse files
quic-calvnguyquic_calvnguy
andauthored
[QNN-EP] Fix logic flow bug (microsoft#26148)
### Description Fix logic flow bug where rpc polling interval is set to 9999 when perf performance is NOT burst. The interval should be set to 9999 when the perf performance is burst ### Motivation and Context Co-authored-by: quic_calvnguy <quic_calvnguy@quic_inc.com>
1 parent b608f79 commit b160e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/qnn/qnn_execution_provider.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ Status QNNExecutionProvider::OnRunStart(const onnxruntime::RunOptions& run_optio
14721472
}
14731473

14741474
uint32_t rpc_polling_time = 0;
1475-
if (qnn::HtpPerformanceMode::kHtpBurst != htp_performance_mode) {
1475+
if (qnn::HtpPerformanceMode::kHtpBurst == htp_performance_mode) {
14761476
rpc_polling_time = 9999;
14771477
}
14781478

0 commit comments

Comments
 (0)