| Package | Description |
|---|---|
| ai.rapids.cudf | |
| ai.rapids.cudf.nvcomp |
| Modifier and Type | Field and Description |
|---|---|
static Cuda.Stream |
Cuda.DEFAULT_STREAM |
| Modifier and Type | Method and Description |
|---|---|
static DeviceMemoryBuffer |
Rmm.alloc(long size,
Cuda.Stream stream)
Allocate device memory and return a pointer to device memory.
|
static CudaMemoryBuffer |
CudaMemoryBuffer.allocate(long bytes,
Cuda.Stream stream)
Allocate memory for use on the GPU.
|
static DeviceMemoryBuffer |
DeviceMemoryBuffer.allocate(long bytes,
Cuda.Stream stream)
Allocate memory for use on the GPU.
|
static CudaMemoryBuffer |
Rmm.allocCuda(long size,
Cuda.Stream stream)
Allocate device memory using `cudaMalloc` and return a pointer to device memory.
|
void |
HostMemoryBuffer.copyFromDeviceBuffer(BaseDeviceMemoryBuffer deviceMemoryBuffer,
Cuda.Stream stream)
Copy from a DeviceMemoryBuffer to a HostMemoryBuffer using the specified stream.
|
void |
HostMemoryBuffer.copyFromDeviceBufferAsync(BaseDeviceMemoryBuffer deviceMemoryBuffer,
Cuda.Stream stream)
Copy from a DeviceMemoryBuffer to a HostMemoryBuffer using the specified stream.
|
void |
BaseDeviceMemoryBuffer.copyFromDeviceBufferAsync(long destOffset,
BaseDeviceMemoryBuffer src,
long srcOffset,
long length,
Cuda.Stream stream)
Copy a subset of src to this buffer starting at destOffset using the specified CUDA stream.
|
void |
BaseDeviceMemoryBuffer.copyFromHostBuffer(HostMemoryBuffer src,
Cuda.Stream stream)
Copy entire host buffer starting at the beginning of this buffer using a CUDA stream.
|
void |
BaseDeviceMemoryBuffer.copyFromHostBuffer(long destOffset,
HostMemoryBuffer src,
long srcOffset,
long length,
Cuda.Stream stream)
Copy a subset of src to this buffer starting at destOffset using the specified CUDA stream.
|
void |
BaseDeviceMemoryBuffer.copyFromHostBufferAsync(HostMemoryBuffer src,
Cuda.Stream stream)
Copy entire host buffer starting at the beginning of this buffer using a CUDA stream.
|
void |
BaseDeviceMemoryBuffer.copyFromHostBufferAsync(long destOffset,
HostMemoryBuffer src,
long srcOffset,
long length,
Cuda.Stream stream)
Copy a subset of src to this buffer starting at destOffset using the specified CUDA stream.
|
void |
MemoryBuffer.copyFromMemoryBuffer(long destOffset,
MemoryBuffer src,
long srcOffset,
long length,
Cuda.Stream stream)
Copy a subset of src to this buffer starting at destOffset using the specified CUDA stream.
|
void |
MemoryBuffer.copyFromMemoryBufferAsync(long destOffset,
MemoryBuffer src,
long srcOffset,
long length,
Cuda.Stream stream)
Copy a subset of src to this buffer starting at destOffset using the specified CUDA stream.
|
static void |
Cuda.multiBufferCopyAsync(long[] destAddrs,
long[] srcAddrs,
long[] copySizes,
Cuda.Stream stream)
Copy data from multiple device buffer sources to multiple device buffer destinations.
|
void |
Cuda.Event.record(Cuda.Stream stream)
Captures the contents of stream at the time of this call.
|
| Constructor and Description |
|---|
CudaMemoryBuffer(long address,
long lengthInBytes,
Cuda.Stream stream)
Wrap an existing CUDA allocation in a device memory buffer.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceMemoryBuffer[] |
BatchedLZ4Compressor.compress(BaseDeviceMemoryBuffer[] origInputs,
Cuda.Stream stream)
Compress a batch of buffers with LZ4.
|
static long |
LZ4Compressor.compress(BaseDeviceMemoryBuffer input,
CompressionType inputType,
long chunkSize,
BaseDeviceMemoryBuffer tempBuffer,
BaseDeviceMemoryBuffer output,
Cuda.Stream stream)
Synchronously compress a buffer with LZ4.
|
static void |
LZ4Compressor.compressAsync(DeviceMemoryBuffer compressedSizeOutputBuffer,
BaseDeviceMemoryBuffer input,
CompressionType inputType,
long chunkSize,
BaseDeviceMemoryBuffer tempBuffer,
BaseDeviceMemoryBuffer output,
Cuda.Stream stream)
Asynchronously compress a buffer with LZ4.
|
static LZ4Decompressor.Configuration |
LZ4Decompressor.configure(BaseDeviceMemoryBuffer compressed,
Cuda.Stream stream)
Get the decompression configuration from compressed data.
|
static void |
LZ4Decompressor.decompressAsync(BaseDeviceMemoryBuffer compressed,
LZ4Decompressor.Configuration config,
BaseDeviceMemoryBuffer temp,
BaseDeviceMemoryBuffer outputBuffer,
Cuda.Stream stream)
Asynchronously decompress data compressed with the LZ4 compressor.
|
static void |
BatchedLZ4Decompressor.decompressAsync(long chunkSize,
BaseDeviceMemoryBuffer[] origInputs,
BaseDeviceMemoryBuffer[] outputs,
Cuda.Stream stream)
Asynchronously decompress a batch of buffers
|
static boolean |
LZ4Decompressor.isLZ4Data(BaseDeviceMemoryBuffer buffer,
Cuda.Stream stream)
Determine if a buffer is data compressed with LZ4.
|
Copyright © 2022. All rights reserved.