Package | Description |
---|---|
ai.rapids.cudf | |
ai.rapids.cudf.nvcomp |
Modifier and Type | Method and Description |
---|---|
static 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.
|
DeviceMemoryBuffer |
ContiguousTable.getBuffer()
Get the device buffer backing the contiguous table data.
|
DeviceMemoryBuffer |
GatherMap.releaseBuffer()
Release the underlying device buffer instance.
|
DeviceMemoryBuffer |
DeviceMemoryBuffer.slice(long offset,
long len)
Slice off a part of the device buffer.
|
DeviceMemoryBuffer |
BaseDeviceMemoryBuffer.sliceWithCopy(long offset,
long len)
Slice off a part of the device buffer, copying it instead of reference counting it.
|
Modifier and Type | Method and Description |
---|---|
long |
MultiBufferDataSource.deviceRead(long offset,
DeviceMemoryBuffer dest,
Cuda.Stream stream) |
long |
DataSource.deviceRead(long offset,
DeviceMemoryBuffer dest,
Cuda.Stream stream)
Read data from the source at the given offset into dest.
|
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`.
|
Constructor and Description |
---|
ColumnVector(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(DeviceMemoryBuffer data,
DeviceMemoryBuffer valid,
DeviceMemoryBuffer offsets,
List<DeviceMemoryBuffer> buffers,
long viewHandle)
Create from existing cudf::column_view and buffers.
|
OffHeapState(long viewHandle,
DeviceMemoryBuffer contiguousBuffer)
Create from existing cudf::column_view and contiguous buffer.
|
Constructor and Description |
---|
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.
|
OffHeapState(DeviceMemoryBuffer data,
DeviceMemoryBuffer valid,
DeviceMemoryBuffer offsets,
List<DeviceMemoryBuffer> buffers,
long viewHandle)
Create from existing cudf::column_view and buffers.
|
Modifier and Type | Method and Description |
---|---|
DeviceMemoryBuffer[] |
BatchedCompressor.compress(BaseDeviceMemoryBuffer[] origInputs,
Cuda.Stream stream)
Compress a batch of buffers.
|
Copyright © 2024. All rights reserved.