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

Increase volk_32f_x2_dot_prod_16i tolerance to 1 #704

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

argilo
Copy link
Member

@argilo argilo commented Nov 10, 2023

Fixes #669.

The last step of the volk_32f_x2_dot_prod_16i kernel is a conversion from float to int16. Floating point error in the dot product calculation will inevitably lead to an output difference of 1 when the answer is close to an integer threshold. As with #647, the only reasonable fix in the current test framework is to increase the tolerance to 1.

@jdemel jdemel merged commit a78e913 into gnuradio:main Dec 1, 2023
32 checks passed
@argilo argilo deleted the dot-prod-16i-tol branch December 2, 2023 16:47
Alesha72003 pushed a commit to Alesha72003/volk that referenced this pull request May 15, 2024
Increase volk_32f_x2_dot_prod_16i tolerance to 1
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.

qa_volk_32f_x2_dot_prod_16i is flaky
2 participants