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

Rename CAGRA parameter num_parents to search_width #1676

Merged

Conversation

tfeher
Copy link
Contributor

@tfeher tfeher commented Jul 26, 2023

The name search_width is more expressive, therefore this PR renames num_parents to search_width.

The original CAGRA implementation used both names internally, but externally it used search_width.

@tfeher tfeher requested a review from a team as a code owner July 26, 2023 15:23
@github-actions github-actions bot added the cpp label Jul 26, 2023
@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jul 26, 2023
@dantegd dantegd mentioned this pull request Jul 26, 2023
8 tasks
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.

LGTM!

@cjnolet
Copy link
Member

cjnolet commented Jul 27, 2023

/merge

@rapids-bot rapids-bot bot merged commit d8b9187 into rapidsai:branch-23.08 Jul 27, 2023
54 checks passed
raydouglass pushed a commit that referenced this pull request Jul 31, 2023
First verstion of a CAGRA API in pylibraft. 

Todos:

- [x] C++ raft_runtime instantiations and void overloads
- [x] Cython API
- [x] Solve issue of `cagra_types.hpp` including `#include <raft/util/pow2_utils.cuh>` that makes it need nvcc, blocking a clean C++ only cython build
- [x] Check in pytests
- [x] Add examples to docstrings 
- [x] Accommodate for parameter rename of #1676
- [x] Accomodate changes of #1664 
- [x] Move out of experimental namespace

Authors:
   - Dante Gama Dessavre (https://github.com/dantegd)
   - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
   - Corey J. Nolet (https://github.com/cjnolet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants