Skip to content

Commit a2b7a48

Browse files
Fix AutoEpSelection and OrtEpLibrary tests when using AuthenticAMD (microsoft#24754)
1 parent 47b378d commit a2b7a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/common/cpuid_info.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ std::string CPUIDInfo::GetX86Vendor(int32_t* data) {
170170

171171
uint32_t CPUIDInfo::GetVendorId(const std::string& vendor) {
172172
if (vendor == "GenuineIntel") return 0x8086;
173-
if (vendor == "GenuineAMD") return 0x1022;
173+
if (vendor == "AuthenticAMD") return 0x1022;
174174
if (vendor.find("Qualcomm") == 0) return 'Q' | ('C' << 8) | ('O' << 16) | ('M' << 24);
175175
if (vendor.find("NV") == 0) return 0x10DE;
176176
return 0;

0 commit comments

Comments
 (0)