Skip to content
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

Add sme/sme2 detection to mach/init.c #264

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Conversation

gonnet
Copy link
Contributor

@gonnet gonnet commented Oct 22, 2024

I forgot to add this for mach when I did it for linux a while back (#262).

I could not find hw.optional.arm.FEAT_SME_* features for all the sme-related bits in cpuinfo_arm_isa, but I've added the ones for sme and sme2.

We've verified that this works on a new iPad Pro with an M4 cpu.

I forgot to add this for `mach` when I did it for `linux` a while back (pytorch#262).

I could not find `hw.optional.arm.FEAT_SME_*` features for all the `sme`-related bits in `cpuinfo_arm_isa`, but I've added the ones I could find.
@digantdesai digantdesai merged commit dff2616 into pytorch:main Oct 22, 2024
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants