-
Notifications
You must be signed in to change notification settings - Fork 146
[Java] Relax cuVS version matching #1544
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
[Java] Relax cuVS version matching #1544
Conversation
|
/ok to test aedc15e |
aedc15e to
9954f99
Compare
ChrisHegarty
left a comment
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.
LGTM
| private static CuVSVersion addReleases(CuVSVersion currentVersion, int numberOfReleases) { | ||
| short candidateMinor = (short) (currentVersion.minor + numberOfReleases * 2); | ||
| short releaseMinor = (short) (candidateMinor % 12); | ||
| short releaseMajor = (short) (currentVersion.major + (candidateMinor / 12)); |
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.
CalVer cyclic !
|
/ok to test 080952e |
|
CI failures are a result of rapidsai/raft#2813. Should be resolved by rapidsai/raft#2881. |
|
/ok to test 080952e |
|
/ok to test d4d1f4d |
|
/merge |
As discussed during a sync, we want to relax version matching/checking between cuvs-java and the cuVS C library.
The rationale is that the C API should be pretty stable, and the cuvs-java bindings to the C API should not be affected by the cuVS version, provided that the API does not change.
For these reasons, we do still want to check that
This PR introduces these checks, allowing cuvs-java to start and bind with C libraries up to 3 more cuVS releases in the future.