From 616ad5f096a88a19530f2ec96c51e4a055f66d76 Mon Sep 17 00:00:00 2001 From: quic_calvnguy Date: Wed, 24 Sep 2025 09:38:38 -0700 Subject: [PATCH] [QNN-EP] Fix logic flow bug --- onnxruntime/core/providers/qnn/qnn_execution_provider.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/qnn/qnn_execution_provider.cc b/onnxruntime/core/providers/qnn/qnn_execution_provider.cc index 3acb3347acee1..b404a8924745b 100644 --- a/onnxruntime/core/providers/qnn/qnn_execution_provider.cc +++ b/onnxruntime/core/providers/qnn/qnn_execution_provider.cc @@ -1472,7 +1472,7 @@ Status QNNExecutionProvider::OnRunStart(const onnxruntime::RunOptions& run_optio } uint32_t rpc_polling_time = 0; - if (qnn::HtpPerformanceMode::kHtpBurst != htp_performance_mode) { + if (qnn::HtpPerformanceMode::kHtpBurst == htp_performance_mode) { rpc_polling_time = 9999; }