Skip to content
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

Add cudf::strings::integer_to_hex convert API #8450

Merged
merged 4 commits into from
Jun 15, 2021

Conversation

davidwendt
Copy link
Contributor

Closes #3105

This PR adds the cudf::strings::integers_to_hex API to libcudf. Also, adds gtests for testing with all integer types. The PR also includes Cython updates to make the new API available to Python cudf.

@davidwendt davidwendt added feature request New feature or request 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Jun 7, 2021
@davidwendt davidwendt self-assigned this Jun 7, 2021
@davidwendt davidwendt requested review from a team as code owners June 7, 2021 19:31
@github-actions github-actions bot added the Python Affects Python cuDF API. label Jun 7, 2021
@codecov
Copy link

codecov bot commented Jun 7, 2021

Codecov Report

Merging #8450 (39a3c13) into branch-21.08 (709adb1) will increase coverage by 0.38%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##           branch-21.08    #8450      +/-   ##
================================================
+ Coverage         82.53%   82.91%   +0.38%     
================================================
  Files               110      110              
  Lines             17739    18094     +355     
================================================
+ Hits              14640    15002     +362     
+ Misses             3099     3092       -7     
Impacted Files Coverage Δ
python/cudf/cudf/io/feather.py 100.00% <0.00%> (ø)
python/cudf/cudf/comm/serialize.py 0.00% <0.00%> (ø)
python/cudf/cudf/_fuzz_testing/io.py 0.00% <0.00%> (ø)
python/cudf/cudf/utils/applyutils.py 100.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/_version.py 0.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/io/tests/test_csv.py 100.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/io/tests/test_orc.py 100.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/io/tests/test_json.py 100.00% <0.00%> (ø)
...ython/dask_cudf/dask_cudf/io/tests/test_parquet.py 100.00% <0.00%> (ø)
python/cudf/cudf/core/column/numerical.py 94.09% <0.00%> (+0.01%) ⬆️
... and 41 more

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 709adb1...39a3c13. Read the comment docs.

cpp/src/strings/convert/convert_hex.cu Outdated Show resolved Hide resolved
Copy link
Contributor

@karthikeyann karthikeyann left a comment

Choose a reason for hiding this comment

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

Looks good.

@harrism harrism removed the 3 - Ready for Review Ready for review by team label Jun 15, 2021
@harrism
Copy link
Member

harrism commented Jun 15, 2021

ready to merge

@davidwendt
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 6728c75 into rapidsai:branch-21.08 Jun 15, 2021
@davidwendt davidwendt deleted the fea-integer-to-hex branch June 15, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] itoh() Integer to hex string function
5 participants