public class BatchedLZ4Compressor extends Object
| Constructor and Description |
|---|
BatchedLZ4Compressor(long chunkSize,
long targetIntermediateBufferSize)
Construct a batched LZ4 compressor instance
|
| Modifier and Type | Method and Description |
|---|---|
DeviceMemoryBuffer[] |
compress(BaseDeviceMemoryBuffer[] origInputs,
Cuda.Stream stream)
Compress a batch of buffers with LZ4.
|
public BatchedLZ4Compressor(long chunkSize,
long targetIntermediateBufferSize)
chunkSize - maximum amount of uncompressed data to compress as a single chunk. Inputs
larger than this will be compressed in multiple chunks.targetIntermediateBufferSize - desired maximum size of intermediate device buffers
used during compression.public DeviceMemoryBuffer[] compress(BaseDeviceMemoryBuffer[] origInputs, Cuda.Stream stream)
origInputs - buffers to compressstream - CUDA stream to useCopyright © 2023. All rights reserved.