RmmDeviceMemoryResource#

public interface RmmDeviceMemoryResource extends AutoCloseable#

A resource that allocates/deallocates device memory.

This is not intended to be something that a user will just subclass. This is intended to be a wrapper around a C++ class that RMM will use directly.

Subclassed by ai.rapids.cudf.RmmCudaAsyncMemoryResource, ai.rapids.cudf.RmmCudaMemoryResource, ai.rapids.cudf.RmmManagedMemoryResource, ai.rapids.cudf.RmmWrappingDeviceMemoryResource< C extends RmmDeviceMemoryResource >

Method Summary

close()

getHandle()

Returns a pointer to the underlying C++ class that implements an RMM device memory resource.

Methods

public long getHandle()#

Returns a pointer to the underlying C++ class that implements an RMM device memory resource.

public void close()#