Skip to content

Commit c30905d

Browse files
quic-calvnguyquic_calvnguy
andauthored
[QNN-EP] Use same power votes as burst for SHP (microsoft#26465)
### Description Use same HTP voltage corner votes as burst for sustained_high_performance ### Motivation and Context Increases performance without DSPQ polling and utilizes the expected voltage mappings Co-authored-by: quic_calvnguy <quic_calvnguy@quic_inc.com>
1 parent cf8476b commit c30905d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/qnn/builder/qnn_backend_manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ Status QnnBackendManager::SetHtpPowerConfig(uint32_t htp_power_config_client_id,
13891389
// choose performance mode
13901390
switch (htp_performance_mode) {
13911391
case HtpPerformanceMode::kHtpBurst:
1392+
case HtpPerformanceMode::kHtpSustainedHighPerformance:
13921393
dcvs_v3.setSleepLatency = 1; // true
13931394
dcvs_v3.sleepLatency = kSleepMinLatency;
13941395
dcvs_v3.dcvsEnable = kDcvsDisable;
@@ -1401,7 +1402,6 @@ Status QnnBackendManager::SetHtpPowerConfig(uint32_t htp_power_config_client_id,
14011402
dcvs_v3.coreVoltageCornerTarget = DCVS_VOLTAGE_VCORNER_MAX_VOLTAGE_CORNER;
14021403
dcvs_v3.coreVoltageCornerMax = DCVS_VOLTAGE_VCORNER_MAX_VOLTAGE_CORNER;
14031404
break;
1404-
case HtpPerformanceMode::kHtpSustainedHighPerformance:
14051405
case HtpPerformanceMode::kHtpHighPerformance:
14061406
dcvs_v3.setSleepLatency = 1; // true
14071407
dcvs_v3.sleepLatency = kSleepLowLatency;

0 commit comments

Comments
 (0)