-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ZLIB compression in ORC writer #11036
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.08 #11036 +/- ##
===============================================
Coverage ? 86.34%
===============================================
Files ? 144
Lines ? 22738
Branches ? 0
===============================================
Hits ? 19632
Misses ? 3106
Partials ? 0 Continue to review full report at Codecov.
|
@@ -1233,7 +1232,7 @@ __global__ void __launch_bounds__(1024) | |||
? statuses[ss.first_block + b].bytes_written | |||
: src_len; | |||
uint32_t blk_size24{}; | |||
if (dst_len >= src_len) { | |||
if (statuses[ss.first_block + b].status == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous condition was implicit, led to wrong output when the compressed data is larger.
Fixed this issue when I switched to 22.06 and back to 22.08 as base. Also updated reviewers. |
Co-authored-by: Karthikeyan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
rerun tests |
1 similar comment
rerun tests |
@gpucibot merge |
Some recently merged PRs (#11018 + #11036) do not include enough header which may cause compile error in some systems (in particular, CUDA 11.7 + gcc-11.2). This PR adds the missing header (`<optional>`) to fix the compile issue. Authors: - Nghia Truong (https://github.com/ttnghia) Approvers: - Karthikeyan (https://github.com/karthikeyann) - Yunsong Wang (https://github.com/PointKernel) URL: #11126
Closes #11023
Expands the nvcomp adapter to cover compression. Supports SNAPPY and ZLIB.
Moves the ORC writer nvcomp compression from
stripe_enc.cu
to the adapter and add ZLIB support.Adds padding to compressed blocks in writer to ensure alignment of output pointer alignment that is required for nvcomp ZLIB compression.
Minor changes:
batched_args
so it also makes sense for compression.