Skip to content

Conversation

@lowener
Copy link
Contributor

@lowener lowener commented Nov 6, 2025

Scann is using process_and_fill_codes_subspaces but this code is already present in vpq_dataset.cuh.
The code in vpq_dataset.cuh is more recent because it supports batching.
This PR removes the duplicated code.

@lowener lowener added improvement Improves an existing functionality non-breaking Introduces a non-breaking change C++ labels Nov 6, 2025
Copy link
Member

@divyegala divyegala left a comment

Choose a reason for hiding this comment

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

Can we compile this kernel once only and have both places call the same instance?

Signed-off-by: Mickael Ide <[email protected]>
@lowener lowener requested a review from a team as a code owner November 7, 2025 14:50
@lowener lowener requested a review from divyegala November 7, 2025 14:54
@lowener
Copy link
Contributor Author

lowener commented Nov 20, 2025

Instead of creating this independant compilation unit, we can use the PQ public API I am preparing in #1278
Created #1575 to track that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ DO NOT MERGE improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Development

Successfully merging this pull request may close these issues.

2 participants