Since cpuid for arm is not usable in user space, these features are only implemented for mac.
Summary:
Remove cpuid when compiling for arm.
Rewrite supported_instruction_sets to detect arm features.
Rewrite vendor_id using sysctl.
Use Metal to detect GPU features by default.
Since
cpuid
for arm is not usable in user space, these features are only implemented for mac. Summary: Removecpuid
when compiling for arm. Rewritesupported_instruction_sets
to detect arm features. Rewritevendor_id
usingsysctl
. Use Metal to detect GPU features by default.