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

[FEA] Split Bitset code #2295

Merged
merged 3 commits into from
May 9, 2024
Merged

Conversation

lowener
Copy link
Contributor

@lowener lowener commented May 7, 2024

Splitting the Bitset code into a .hpp and .cuh header allow the declaration of ann::search_with_filters with a bitset_filter to be made without using CUDA code in headers.
This is useful for cuVS where the headers ivf_pq.hpp need to declare search_with_filter and stay CUDA-free.

@lowener lowener added 3 - Ready for Review feature request New feature or request non-breaking Non-breaking change labels May 7, 2024
@lowener lowener requested a review from a team as a code owner May 7, 2024 14:46
@github-actions github-actions bot added the cpp label May 7, 2024
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

Very clean!

@cjnolet
Copy link
Member

cjnolet commented May 8, 2024

/merge

@rapids-bot rapids-bot bot merged commit f222be0 into rapidsai:branch-24.06 May 9, 2024
62 checks passed
@lowener lowener deleted the 24.06-bitset-split branch May 9, 2024 12:58
abc99lr pushed a commit to abc99lr/raft that referenced this pull request May 10, 2024
Splitting the Bitset code into a `.hpp` and `.cuh` header allow the declaration of `ann::search_with_filters` with a `bitset_filter` to be made without using CUDA code in headers.
This is useful for cuVS where the headers `ivf_pq.hpp` need to declare `search_with_filter` and stay CUDA-free.

Authors:
  - Micka (https://github.com/lowener)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#2295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review cpp feature request New feature or request non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants