Uses of Class
ai.rapids.cudf.DeviceMemoryBuffer
Packages that use DeviceMemoryBuffer
-
Uses of DeviceMemoryBuffer in ai.rapids.cudf
Methods in ai.rapids.cudf that return DeviceMemoryBufferModifier and TypeMethodDescriptionstatic DeviceMemoryBuffer
Rmm.alloc
(long size) Allocate device memory and return a pointer to device memory, using stream 0.static DeviceMemoryBuffer
Rmm.alloc
(long size, Cuda.Stream stream) Allocate device memory and return a pointer to device memory.static DeviceMemoryBuffer
DeviceMemoryBuffer.allocate
(long bytes) Allocate memory for use on the GPU.static DeviceMemoryBuffer
DeviceMemoryBuffer.allocate
(long bytes, Cuda.Stream stream) Allocate memory for use on the GPU.static DeviceMemoryBuffer
DeviceMemoryBuffer.fromRmm
(long address, long lengthInBytes, long rmmBufferAddress) Wrap an existing RMM allocation in a device memory buffer.ContiguousTable.getBuffer()
Get the device buffer backing the contiguous table data.GatherMap.releaseBuffer()
Release the underlying device buffer instance.final DeviceMemoryBuffer
DeviceMemoryBuffer.slice
(long offset, long len) Slice off a part of the device buffer.final DeviceMemoryBuffer
BaseDeviceMemoryBuffer.sliceWithCopy
(long offset, long len) Slice off a part of the device buffer, copying it instead of reference counting it.Methods in ai.rapids.cudf with parameters of type DeviceMemoryBufferModifier and TypeMethodDescriptionlong
DataSource.deviceRead
(long offset, DeviceMemoryBuffer dest, Cuda.Stream stream) Read data from the source at the given offset into dest.long
MultiBufferDataSource.deviceRead
(long offset, DeviceMemoryBuffer dest, Cuda.Stream stream) static Table
Table.fromPackedTable
(ByteBuffer metadata, DeviceMemoryBuffer data) Construct a table from a packed representation.static ColumnVector
ColumnVector.fromViewWithContiguousAllocation
(long columnViewAddress, DeviceMemoryBuffer buffer) Creates a ColumnVector from a native column_view using a contiguous device allocation.long
ChunkedPack.next
(DeviceMemoryBuffer userPtr) Place the next contiguous chunk of our table into `userPtr`.Constructors in ai.rapids.cudf with parameters of type DeviceMemoryBufferModifierConstructorDescriptionColumnVector
(DType type, long rows, Optional<Long> nullCount, DeviceMemoryBuffer dataBuffer, DeviceMemoryBuffer validityBuffer, DeviceMemoryBuffer offsetBuffer) Create a new column vector based off of data already on the device.ColumnVector
(DType type, long rows, Optional<Long> nullCount, DeviceMemoryBuffer dataBuffer, DeviceMemoryBuffer validityBuffer, DeviceMemoryBuffer offsetBuffer, List<DeviceMemoryBuffer> toClose, long[] childHandles) Create a new column vector based off of data already on the device with child columns.GatherMap
(DeviceMemoryBuffer buffer) Construct a gather map instance from a device buffer.OffHeapState
(long viewHandle, DeviceMemoryBuffer contiguousBuffer) Create from existing cudf::column_view and contiguous buffer.OffHeapState
(DeviceMemoryBuffer data, DeviceMemoryBuffer valid, DeviceMemoryBuffer offsets, List<DeviceMemoryBuffer> buffers, long viewHandle) Create from existing cudf::column_view and buffers.Constructor parameters in ai.rapids.cudf with type arguments of type DeviceMemoryBufferModifierConstructorDescriptionColumnVector
(DType type, long rows, Optional<Long> nullCount, DeviceMemoryBuffer dataBuffer, DeviceMemoryBuffer validityBuffer, DeviceMemoryBuffer offsetBuffer, List<DeviceMemoryBuffer> toClose, long[] childHandles) Create a new column vector based off of data already on the device with child columns.OffHeapState
(DeviceMemoryBuffer data, DeviceMemoryBuffer valid, DeviceMemoryBuffer offsets, List<DeviceMemoryBuffer> buffers, long viewHandle) Create from existing cudf::column_view and buffers. -
Uses of DeviceMemoryBuffer in ai.rapids.cudf.nvcomp
Methods in ai.rapids.cudf.nvcomp that return DeviceMemoryBufferModifier and TypeMethodDescriptionBatchedCompressor.compress
(BaseDeviceMemoryBuffer[] origInputs, Cuda.Stream stream) Compress a batch of buffers.