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

M1 f16 intrinsics #13

Open
Narsil opened this issue Aug 1, 2023 · 0 comments
Open

M1 f16 intrinsics #13

Narsil opened this issue Aug 1, 2023 · 0 comments

Comments

@Narsil
Copy link

Narsil commented Aug 1, 2023

Hey Opening an issue instead of a PR for this one because it's super dirty work atm:

Basically on neon aarch64 (M1 Mac) we can add pure f16 intrinsics and get pretty sizeable speedup:
Something like ~2x on most matmuls

LaurentMazare#4

However this requires hacking new intrinsics using arm! macro which seem to confuse the compiler (most likely because I didn't write them properly)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant