Package ai.rapids.cudf.nvcomp
Class BatchedZstdDecompressor
java.lang.Object
ai.rapids.cudf.nvcomp.BatchedDecompressor
ai.rapids.cudf.nvcomp.BatchedZstdDecompressor
ZSTD decompressor that operates on multiple input buffers in a batch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.Methods inherited from class ai.rapids.cudf.nvcomp.BatchedDecompressor
decompressAsync
-
Constructor Details
-
BatchedZstdDecompressor
public BatchedZstdDecompressor(long chunkSize)
-
-
Method Details
-
batchedDecompressGetTempSize
protected long batchedDecompressGetTempSize(long numChunks, long maxUncompressedChunkBytes) Description copied from class:BatchedDecompressor
Computes the temporary storage size in bytes needed to decompress a compressed batch.- Specified by:
batchedDecompressGetTempSize
in classBatchedDecompressor
- Parameters:
numChunks
- number of chunks in the batchmaxUncompressedChunkBytes
- maximum uncompressed size of any chunk in bytes- Returns:
- number of temporary storage bytes needed to decompress the batch
-
batchedDecompressAsync
protected void batchedDecompressAsync(long devInPtrs, long devInSizes, long devOutSizes, long batchSize, long tempPtr, long tempSize, long devOutPtrs, long stream) Description copied from class:BatchedDecompressor
Asynchronously decompress a batch of compressed data buffers.- Specified by:
batchedDecompressAsync
in classBatchedDecompressor
- Parameters:
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 use
-