-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure to detect CPU type for Apple Silicon #2804
Comments
Using cmake also fails. Using
|
With CMAKE, OpenBLAS tries to use CMAKE variables - if CMAKE_SYSTEM_PROCESSOR matches aarch64, CMAKE_SIZEOF_VOID_P is used to distinguish between ARM (4) and ARM64 (8) in cmake/system_check.cmake. |
I think HWCAP_CPUID is linux-only. |
On macOS, they use |
Some days I hate it here 😄 |
Yes.
They have a "Developer Transition Kit" that they rent out for $500 until the arm64 macs come out. I don't have one, but @fxcoudert probably does. |
The chip they ship on "Developer Transition Kit" (DTK) is a repurposed iPad chip https://en.wikipedia.org/wiki/Apple_A12Z which is |
The only cpu we actively treat as v8.3-a is ThunderX3. Wonder if anything could go wrong when we treat it as that ? (ARMV8 would obviously be safer) |
ARMV8 seems safe for the moment, indeed. |
Then #2807 should hopefully fix both these problems |
On Apple ARM64, the makefile does not recognise the CPU type:
The configuration detection stuff involves a lot of different files, but maybe it's because all the stuff in
cpuid_arm64.c
is Linux-specific.Passing
TARGET=ARMV8
allows the build to proceed.The text was updated successfully, but these errors were encountered: