-
Notifications
You must be signed in to change notification settings - Fork 145
[Java] Bindings, tests and benchmarks for RMM pooled memory #1453
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
base: release/25.12
Are you sure you want to change the base?
[Java] Bindings, tests and benchmarks for RMM pooled memory #1453
Conversation
| } | ||
|
|
||
| @Override | ||
| public String toString() { |
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.
this is from #1510
| @Before | ||
| public void setup() { | ||
| assumeTrue("not supported on " + System.getProperty("os.name"), isLinuxAmd64()); | ||
| CuVSProvider.provider().enableRMMPooledMemory(10, 60); |
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.
Temporary to work around #1454
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.
Given that #1454 has been merged, we could consider removing this at a later date.
| assumeTrue(isLinuxAmd64()); | ||
| initializeRandom(); | ||
| log.trace("Random context initialized for test."); | ||
| CuVSProvider.provider().enableRMMPooledMemory(10, 60); |
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.
Temporary to work around #1454
| public void setup() { | ||
| assumeTrue("not supported on " + System.getProperty("os.name"), isLinuxAmd64()); | ||
| initializeRandom(); | ||
| CuVSProvider.provider().enableRMMPooledMemory(10, 60); |
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.
Temporary to work around #1454
|
I've merged #1510, which seems to have introduced conflicts in the |
|
Thanks @mythrocks, I'll rebase |
# Conflicts: # java/cuvs-java/src/main/java/com/nvidia/cuvs/spi/CuVSProvider.java # java/cuvs-java/src/main/java/com/nvidia/cuvs/spi/UnsupportedProvider.java # java/cuvs-java/src/main/java22/com/nvidia/cuvs/spi/JDKProvider.java # java/cuvs-java/src/test/java/com/nvidia/cuvs/CagraBuildAndSearchIT.java # java/cuvs-java/src/test/java/com/nvidia/cuvs/CuVSMatrixIT.java
…ild/cuvsBruteForceSearch
d6a6f38 to
8cec4dc
Compare
|
@mythrocks I have rebased this onto 25.12 too |
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.
Yep, this looks good to me. Just need to include the copyright header in Utils.java.
|
I've taken @rapidsai/cuvs-python-codeowners, @rapidsai/ci-codeowners, etc. off of this review. The changes are all in Java, and straightforward. |
|
/ok to test d74f38e |
| @@ -0,0 +1,53 @@ | |||
| package com.nvidia.cuvs; | |||
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.
Need to include the copyright header here.
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.
Let me see if that change helps.
|
/ok to test bd8670a |
|
Hmm. Odd C++ compile error: Included from |
|
/ok to test bd8670a |
1 similar comment
|
/ok to test bd8670a |
|
/ok to test fc7b55c |
|
/ok to test ed92aa9 |
|
/ok to test 6900dfe |
Exposes
cuvsRMMPoolMemoryResourceEnable/cuvsRMMMemoryResourceResetvia the Java API, with tests and benchmarks