Package ai.rapids.cudf
Class RmmCudaMemoryResource
java.lang.Object
ai.rapids.cudf.RmmCudaMemoryResource
- All Implemented Interfaces:
RmmDeviceMemoryResource
,AutoCloseable
A device memory resource that uses `cudaMalloc` and `cudaFree` for allocation and deallocation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RmmCudaMemoryResource
public RmmCudaMemoryResource()
-
-
Method Details
-
getHandle
public long getHandle()Description copied from interface:RmmDeviceMemoryResource
Returns a pointer to the underlying C++ class that implements rmm::mr::device_memory_resource- Specified by:
getHandle
in interfaceRmmDeviceMemoryResource
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceRmmDeviceMemoryResource
-
toString
-