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

Add deprecations for untested kernels #555

Merged
merged 2 commits into from Feb 6, 2022

Conversation

jdemel
Copy link
Contributor

@jdemel jdemel commented Jan 7, 2022

We have six kernels:

  • volk_16i_x5_add_quad_16i_x4
  • volk_16i_branch_4_state_8
  • volk_16i_max_star_16i
  • volk_16i_max_star_horizontal_16i
  • volk_16i_permute_and_scalar_add
  • volk_16i_x4_quad_max_star_16i

that we don't test. They should be marked deprecated. If nobody complains, we can remove them in a future VOLK version. Otherwise, we need proper tests for those kernels because they are currently untested.

We assume that MSVC is the compiler on Windows and thus, we don't add deprecation warnings. Other platforms receive these warnings though. Ideas on how to improve these warnings are appreciated.

Fix #549

We have six kernels:
- `volk_16i_x5_add_quad_16i_x4`
- `volk_16i_branch_4_state_8`
- `volk_16i_max_star_16i`
- `volk_16i_max_star_horizontal_16i`
- `volk_16i_permute_and_scalar_add`
- `volk_16i_x4_quad_max_star_16i`

that we don't test. They should be marked deprecated. If nobody
complains, we can remove them in a future VOLK version. Otherwise, we
need proper tests for those kernels because they are currently untested.

Signed-off-by: Johannes Demel <demel@uni-bremen.de>
We assume that MSVC is the compiler on Windows and thus, we don't add
deprecation warnings. Other platforms receive these warnings though.

Signed-off-by: Johannes Demel <demel@uni-bremen.de>
@jdemel jdemel requested a review from mormj February 6, 2022 16:07
Copy link
Contributor

@michaelld michaelld left a comment

Choose a reason for hiding this comment

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

Agreed! LGTM

@michaelld michaelld merged commit 761dc41 into gnuradio:main Feb 6, 2022
@jdemel jdemel deleted the add-deprecations branch July 1, 2022 10:28
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.

deprecate untested kernels
2 participants