pytorch / cpuinfo

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

Add darwin_x86_64 CPU handling #139

Closed keith closed 1 year ago

keith commented 1 year ago

Currently bazel supports darwin and darwin_x86_64 as meaning the same thing. The fully qualified version is normally used if you're cross compiling from M1 machines to intel machines. I'm also hoping to remove the unqualified version to reduce confusion. This change makes cpuinfo compatible with both for now.