onnxruntime
dee90b51 - Pickup fix for when we don't find cpu info from setupapi. (#24753)

Commit
232 days ago
Pickup fix for when we don't find cpu info from setupapi. (#24753) ### Description <!-- Describe your changes. --> Some CPUs don't show up in SetupApi info for some reason. Create default entry if that is the case. Manually tested by disabling the lookup of GUID_DEVCLASS_PROCESSOR info. Not sure of a better way to test. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Fix crash as other code assumes there will always be CPU device.
Author
Parents
Loading