onnxruntime
55c1a3b0 - Fix 'minimal_power' to 'minimum_power' for DirectML performance selection (perf test) (#24303)

Commit
300 days ago
Fix 'minimal_power' to 'minimum_power' for DirectML performance selection (perf test) (#24303) In Perf Test for DirectML EP, for the "performance_preference" runtime key we could not select the "minimum_power" value option due to a small bug. This PR fixes it so that "minimum_power" can be used and ran. I will also link the respective issue to this PR I made the change, built onnxruntime, and tested the perf_test.exe + DLLs on a system with Intel Integrated Graphics + Nvidia dGPU. Switching between 'minimum_power' and 'high_performance', I can see the options respectively choose Intel Integrated and Nvidia dGPU as device runtimes respectively (I checked task manager utilization for both devices). Both inferences complete with no problems. I am attaching a reproducer here with the built perf_test and the commands I tried to test it: [DLL_Build_DML_Reproducer.zip](https://github.com/user-attachments/files/19596463/DLL_Build_DML_Reproducer.zip) Issue #24182 @fdwr Hi, I fixed the issue, if you could please review, thank you
Author
Parents
Loading