[Java] Bindings, tests and benchmarks for RMM pooled memory#1453
Conversation
| } | ||
|
|
||
| @Override | ||
| public String toString() { |
| @Before | ||
| public void setup() { | ||
| assumeTrue("not supported on " + System.getProperty("os.name"), isLinuxAmd64()); | ||
| CuVSProvider.provider().enableRMMPooledMemory(10, 60); |
| assumeTrue(isLinuxAmd64()); | ||
| initializeRandom(); | ||
| log.trace("Random context initialized for test."); | ||
| CuVSProvider.provider().enableRMMPooledMemory(10, 60); |
| public void setup() { | ||
| assumeTrue("not supported on " + System.getProperty("os.name"), isLinuxAmd64()); | ||
| initializeRandom(); | ||
| CuVSProvider.provider().enableRMMPooledMemory(10, 60); |
|
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 |
|
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.
Need to include the copyright header here.
There was a problem hiding this comment.
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 |
|
|
||
| @Test | ||
| public void testPooledByteDeviceDatasetRowGetAccess() throws Throwable { | ||
| withPooledMemory(this::testByteDeviceDatasetRowGetAccess); |
There was a problem hiding this comment.
This is an elegant way to express this test.
|
/merge |
cf5309a
into
rapidsai:release/25.12
Exposes `cuvsRMMPoolMemoryResourceEnable`/`cuvsRMMMemoryResourceReset` via the Java API, with tests and benchmarks Authors: - Lorenzo Dematté (https://github.com/ldematte) - MithunR (https://github.com/mythrocks) Approvers: - MithunR (https://github.com/mythrocks) URL: #1453
Exposes
cuvsRMMPoolMemoryResourceEnable/cuvsRMMMemoryResourceResetvia the Java API, with tests and benchmarks