public class BatchedZstdDecompressor extends BatchedDecompressor
Constructor and Description |
---|
BatchedZstdDecompressor(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.
|
decompressAsync
protected long batchedDecompressGetTempSize(long numChunks, long maxUncompressedChunkBytes)
BatchedDecompressor
batchedDecompressGetTempSize
in class BatchedDecompressor
numChunks
- 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)
BatchedDecompressor
batchedDecompressAsync
in class BatchedDecompressor
devInPtrs
- 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.