You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Julia currently doesn't detect any cpu features when calling Base.BinaryPlatforms.CPUID.cpu_isa on an M1 mac. Julia isn't the only one if issues with runtime feature detection in the ARM-Apple space.
Go had this issue and has an implementation golang/go#42747.
I haven't checked, but reading the code we try to check the features via getauxval(), which isn't available on the darwin libc, and the fallback is a hardcoded name, which isn't available.
Julia currently doesn't detect any cpu features when calling
Base.BinaryPlatforms.CPUID.cpu_isa
on an M1 mac. Julia isn't the only one if issues with runtime feature detection in the ARM-Apple space.Go had this issue and has an implementation golang/go#42747.
I haven't checked, but reading the code we try to check the features via
getauxval()
, which isn't available on the darwin libc, and the fallback is a hardcoded name, which isn't available.julia/src/processor_arm.cpp
Lines 1184 to 1308 in a08a3ff
LLVM does use the features since it has a separate flag
-mcpu=apple-a12
so it isn't something very urgent.Using something like https://developer.apple.com/documentation/kernel/1387446-sysctlbyname seems like an option in other not to hardcode it, for future apple silicon CPUs.
The text was updated successfully, but these errors were encountered: