pytorch / cpuinfo

CPU INFOrmation library (x86/x86-64/ARM/ARM64, Linux/Windows/Android/macOS/iOS)
BSD 2-Clause "Simplified" License
992 stars 311 forks source link

Always check for x86-ish with the same regex. #93

Closed BillyONeal closed 2 years ago

BillyONeal commented 2 years ago

On line 68, and in most places, "intel-like" is checked with i[3-6]86|AMD64|x86(_64)?, but in these 3 places the (_x64)? was missing.

First reported as https://github.com/microsoft/vcpkg/issues/24713