public class BatchedLZ4Decompressor extends BatchedDecompressor
| Constructor and Description |
|---|
BatchedLZ4Decompressor(long chunkSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
batchedDecompressAsync(long devInPtrs,
long devInSizes,
long devOutSizes,
long batchSize,
long tempPtr,
long tempSize,
long devOutPtrs,
long stream)
Asynchronously decompress a batch of compressed data buffers.
|
protected long |
batchedDecompressGetTempSize(long numChunks,
long maxUncompressedChunkBytes)
Computes the temporary storage size in bytes needed to decompress a compressed batch.
|
static void |
decompressAsync(long chunkSize,
BaseDeviceMemoryBuffer[] origInputs,
BaseDeviceMemoryBuffer[] outputs,
Cuda.Stream stream)
Asynchronously decompress a batch of buffers
|
decompressAsyncpublic static void decompressAsync(long chunkSize,
BaseDeviceMemoryBuffer[] origInputs,
BaseDeviceMemoryBuffer[] outputs,
Cuda.Stream stream)
chunkSize - maximum uncompressed block size, must match value used during compressionorigInputs - buffers to decompress, will be closed by this operationoutputs - output buffers that will contain the compressed results, each must be sized
to the exact decompressed size of the corresponding inputstream - CUDA stream to use
Deprecated: Use the non-static version in the parent class instead.protected long batchedDecompressGetTempSize(long numChunks,
long maxUncompressedChunkBytes)
BatchedDecompressorbatchedDecompressGetTempSize in class BatchedDecompressornumChunks - number of chunks in the batchmaxUncompressedChunkBytes - maximum uncompressed size of any chunk in bytesprotected void batchedDecompressAsync(long devInPtrs,
long devInSizes,
long devOutSizes,
long batchSize,
long tempPtr,
long tempSize,
long devOutPtrs,
long stream)
BatchedDecompressorbatchedDecompressAsync in class BatchedDecompressordevInPtrs - device address of compressed input buffer addresses vectordevInSizes - device address of compressed input buffer sizes vectordevOutSizes - device address of uncompressed buffer sizes vectorbatchSize - number of buffers in the batchtempPtr - device address of the temporary decompression spacetempSize - size of the temporary decompression space in bytesdevOutPtrs - device address of uncompressed output buffer addresses vectorstream - CUDA stream to useCopyright © 2024. All rights reserved.