Skip to content

Avoid using nvcompBatchedDeflateDecompressGetTempSizeEx in cuIO - #11213

Merged
rapids-bot[bot] merged 2 commits into
NVIDIA:branch-22.08from
vuule:nvcomp-deflate-temp-size-ex
Jul 8, 2022
Merged

Avoid using nvcompBatchedDeflateDecompressGetTempSizeEx in cuIO#11213
rapids-bot[bot] merged 2 commits into
NVIDIA:branch-22.08from
vuule:nvcomp-deflate-temp-size-ex

Conversation

@vuule

@vuule vuule commented Jul 7, 2022

Copy link
Copy Markdown
Contributor

Needed due to an issue in nvCOMP 2.3.1 and 2.3.2.
nvCOMP integration falls back to nvcompBatchedDeflateDecompressGetTempSize when GetTempSizeEx is not available and for DEFLATE. Once DEFLATE issue is fixed, we'll condition GetTempSizeEx use on the nvCOMP version.

@vuule vuule added bug Something isn't working non-breaking Non-breaking change labels Jul 7, 2022
@vuule vuule self-assigned this Jul 7, 2022
@github-actions github-actions Bot added the libcudf Affects libcudf (C++/CUDA) code. label Jul 7, 2022
@codecov

codecov Bot commented Jul 7, 2022

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.08@8426a99). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             branch-22.08   #11213   +/-   ##
===============================================
  Coverage                ?   86.30%           
===============================================
  Files                   ?      144           
  Lines                   ?    22698           
  Branches                ?        0           
===============================================
  Hits                    ?    19589           
  Misses                  ?     3109           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8426a99...7f3d21f. Read the comment docs.

@jbrennan333 jbrennan333 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 this looks good to me. I have applied this patch and verified that python can import cudf with the original (broken) nvcomp-2.3.2 library and also with the new fixed one.

@vuule
vuule marked this pull request as ready for review July 7, 2022 15:57
@vuule
vuule requested a review from a team as a code owner July 7, 2022 15:57
@vuule
vuule requested review from harrism and hyperbolic2346 July 7, 2022 15:57
Comment thread cpp/src/io/comp/nvcomp_adapter.cpp Outdated
Comment thread cpp/src/io/comp/nvcomp_adapter.cpp
@vuule
vuule requested a review from vyasr July 7, 2022 21:42
@vuule

vuule commented Jul 8, 2022

Copy link
Copy Markdown
Contributor Author

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit bad00d7 into NVIDIA:branch-22.08 Jul 8, 2022
@vuule
vuule deleted the nvcomp-deflate-temp-size-ex branch July 8, 2022 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants