NVIDIA / NVIDIA/cudf

[FEA][JNI] Move to RMM apis get_current_device_resource_ref and set_current_device_resource_ref

Open
#16,673 1 comment 0 reactions 0 assignees View on GitHub
feature request Java Spark
Dominant language
C++
Stars
9.8k
Forks
1.1k
Avg merge
3d 6m
Merged PRs (30d)
278

Description

This change https://github.com/rapidsai/rmm/pull/1661 deprecates the pointer based `get_current_device_resource` and `set_current_device_resource` in favor of a non-owning reference based `set_current_device_resource_ref` and `get_current_device_resource_ref`.

RMM JNI currently uses the pointer based apis so we want to move to the new `_ref` versions. I don't think we need to worry about ownership, because we already have a java object tracking a heap allocated memory resource.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.