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

Prefer NEON kernels over ORC #640

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Prefer NEON kernels over ORC #640

merged 1 commit into from
Oct 22, 2023

Conversation

argilo
Copy link
Member

@argilo argilo commented Oct 12, 2023

Currently ORC appears below NEON in archs.xml, which means that ORC kernels will be preferred if volk_profile has not been executed to profile the kernels. As noted in #639 (comment), in most cases NEON kernels outperform ORC kernels (sometimes by a significant margin), so I think it makes sense to move NEON below ORC. This will also have the side benefit of mostly resolving #622, because the ORC kernels that are broken on ARM (volk_32f_sqrt_32f_a_orc_impl and volk_32fc_magnitude_32f_a_orc_impl) will no longer be selected by default, and are unlikely to be selected by volk_profile as they are significantly slower than their NEON counterparts.

Signed-off-by: Clayton Smith <[email protected]>
Copy link
Contributor

@jdemel jdemel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Regarding #622 , we should probably remove the offending ORC implementation entirely. We can't rely on it to work as expected.

@jdemel jdemel merged commit d107ed9 into gnuradio:main Oct 22, 2023
33 checks passed
@argilo argilo deleted the prefer-neon branch December 2, 2023 16:50
Alesha72003 pushed a commit to Alesha72003/volk that referenced this pull request May 15, 2024
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

Successfully merging this pull request may close these issues.

2 participants