pytorch / cpuinfo

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

Update cpuinfo.h: add support for Windows ARM64EC #227

Open snnn opened 4 months ago

snnn commented 4 months ago

To fix a build error:

src\arm\windows\init-by-logical-sys-info.c(309,17): Error C2065: 'cpuinfo_uarchs': undeclared identifier

In short, Arm64EC is a new application binary interface (ABI) for apps running on Arm devices with an x64 like ABI.

Reference:

  1. VC++ predefined-macros
  2. ARM64EC overview