-
Notifications
You must be signed in to change notification settings - Fork 143
[Fix] Various fixes for 25.02.01 point release #695
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ac5cc15
[Fix] CAGRA 'merge' API compilation error under CUDA 12.4
rhdong 8447421
fix by index::dataset_index_t
rhdong d4366ce
[Fix] Duplicated node issue on Cagra NN-descent
rhdong 88b018d
Fix for a crash situation when using different threads (#680)
1b36e8c
Java: Fixing the broken pre-filtering for Brute Force
85d8644
FIX add sklearn as dependency of cuvs-bench
dantegd 6a36092
[Fix] Brute force with prefilter java test failure
rhdong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hardcoding the dataset index type like this is prone to error: if we decide to change it (let say to
IdxT) in the index header at some point, it will compile and break the code unnoticed - the cast will simply fail.If you really can't use the decltype as above for some reason, perhaps a better way would be to define a new alias in the index definition (e.g.
using dataset_index_type = int64_t) and then make the dataset member use that type in the template parameter.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also try to just rename the
indexvariable here. Maybe it confuses the compiler because of the same template type name.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @achirkin @cjnolet, I've tried it, but it still fails.
9357f8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yh, this works: 70e3036
And, if you @achirkin @cjnolet all believe this is the satisfied solution, I will commit it on this branch(now it is in my personal branch.) Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @cjnolet @achirkin , I committed the
dataset_index_tsolution for time-saving,