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 DeviceMemoryBufferRmm.alloc(long size) Allocate device memory and return a pointer to device memory, using stream 0.static DeviceMemoryBufferRmm.alloc(long size, Cuda.Stream stream) Allocate device memory and return a pointer to device memory.static DeviceMemoryBufferDeviceMemoryBuffer.allocate(long bytes) Allocate memory for use on the GPU.static DeviceMemoryBufferDeviceMemoryBuffer.allocate(long bytes, Cuda.Stream stream) Allocate memory for use on the GPU.static DeviceMemoryBufferDeviceMemoryBuffer.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 DeviceMemoryBufferDeviceMemoryBuffer.slice(long offset, long len) Slice off a part of the device buffer.final DeviceMemoryBufferBaseDeviceMemoryBuffer.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 TypeMethodDescriptionlongDataSource.deviceRead(long offset, DeviceMemoryBuffer dest, Cuda.Stream stream) Read data from the source at the given offset into dest.longMultiBufferDataSource.deviceRead(long offset, DeviceMemoryBuffer dest, Cuda.Stream stream) static TableTable.fromPackedTable(ByteBuffer metadata, DeviceMemoryBuffer data) Construct a table from a packed representation.static ColumnVectorColumnVector.fromViewWithContiguousAllocation(long columnViewAddress, DeviceMemoryBuffer buffer) Creates a ColumnVector from a native column_view using a contiguous device allocation.longChunkedPack.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.