Skip to content

Commit 067d0cb

Browse files
ldemattepunAhuja
authored andcommitted
[Java] Encapsulate on-heap float arrays into Dataset (rapidsai#1024)
This PR is a follow-up from rapidsai#902. Still WIP (see self-comments on the changes) but I'd like some early feedback. Authors: - Lorenzo Dematté (https://github.com/ldematte) - MithunR (https://github.com/mythrocks) Approvers: - Chris Hegarty (https://github.com/ChrisHegarty) - MithunR (https://github.com/mythrocks) URL: rapidsai#1024
1 parent ffec236 commit 067d0cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/cuvs-java/src/main/java22/com/nvidia/cuvs/spi/JDKProvider.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
import java.lang.invoke.MethodHandles;
3939
import java.lang.invoke.MethodType;
4040
import com.nvidia.cuvs.internal.ScalarQuantizerImpl;
41+
import com.nvidia.cuvs.internal.common.Util;
42+
import java.lang.foreign.Arena;
43+
import java.lang.foreign.MemoryLayout;
44+
import java.lang.foreign.MemorySegment;
4145
import java.nio.file.Files;
4246
import java.nio.file.Path;
4347
import java.util.Objects;

0 commit comments

Comments
 (0)