-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Disable the NEON optimisations on gcc <= 8 #3869
base: main
Are you sure you want to change the base?
Conversation
GCC7 doesnt support all the neccesary NEON intrinsics, which is really a shame. However this means that for aarch64 GCC cannot compile faiss with neon intrinsics, so we should avoid using them.
@JAicewizard this should not affect |
I just checked on CC explorer here and even with the oldest aarch64 clang there were no issues. So there might be an old clang compiler that doesn't work, but I am not in a position to test all of them. I suspect they were just always supported. |
@junjieqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@JAicewizard we received bunch of errors internally. In case, you already know the issue before I look into it.
|
This should be fixed now |
github action failed. @JAicewizard could you help fix them before I import again? Thanks! |
GCC7 doesnt support all the necessary NEON intrinsics, which is really a shame. However this means that for aarch64 GCC cannot compile faiss with neon intrinsics, so we should avoid using them.
This is similar to #3860, build issues on GCC7, which I need. This one is a bit uglier, since GCC7 does support NEON just not all of the intrinsics.