-
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
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! |
@junjieqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
I pushed some changes, but I don't think they will fix the error on your end. If anyone could post them I can look into it |
2d593e7
to
4d35936
Compare
@JAicewizard here is some errors. Thanks for your patience.
|
@junjieqi Does this still occur? or only on the previous iteration. Currently there is no such code on line 62 so this should be fixed |
@junjieqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Seeing if this changes the ARM CI run time to go back to under 1 hour, currently taking over 3 hours to run. This reverts commit 1ee7561.
Summary: 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 facebookresearch#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. Pull Request resolved: facebookresearch#3869 Reviewed By: asadoughi Differential Revision: D63081962 Pulled By: junjieqi fbshipit-source-id: 69827cd447dd405b3ef70d651996f9ad00b6213e
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.