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

Removed unneeded includes from traits.hpp #7509

Merged
merged 4 commits into from
Mar 11, 2021

Conversation

davidwendt
Copy link
Contributor

The cpp/include/cudf/utilities/traits.hpp file is parsed when building most libcudf source files (~200). This PR removes a couple unneeded header includes to help reduce the compile dependency. Only a couple files needed to be updated that relied on traits.hpp including these for them.

@davidwendt davidwendt added 3 - Ready for Review Ready for review by team code quality libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 3, 2021
@davidwendt davidwendt self-assigned this Mar 3, 2021
@davidwendt davidwendt requested a review from a team as a code owner March 3, 2021 19:29
@davidwendt davidwendt requested review from trxcllnt and jrhemstad March 3, 2021 19:29
@davidwendt
Copy link
Contributor Author

rerun tests

@codecov
Copy link

codecov bot commented Mar 4, 2021

Codecov Report

Merging #7509 (7c587c7) into branch-0.19 (53929eb) will increase coverage by 0.39%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.19    #7509      +/-   ##
===============================================
+ Coverage        81.88%   82.27%   +0.39%     
===============================================
  Files              101      101              
  Lines            16900    17261     +361     
===============================================
+ Hits             13838    14202     +364     
+ Misses            3062     3059       -3     
Impacted Files Coverage Δ
python/cudf/cudf/utils/gpu_utils.py 53.65% <0.00%> (-4.88%) ⬇️
python/cudf/cudf/core/abc.py 87.23% <0.00%> (-1.14%) ⬇️
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/core/column/struct.py 100.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/_version.py 0.00% <0.00%> (ø)
python/cudf/cudf/_fuzz_testing/fuzzer.py 0.00% <0.00%> (ø)
python/cudf/cudf/utils/hash_vocab_utils.py 100.00% <0.00%> (ø)
python/dask_cudf/dask_cudf/io/tests/test_csv.py 100.00% <0.00%> (ø)
... and 40 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 53929eb...af0908e. Read the comment docs.

@jrhemstad
Copy link
Contributor

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 3355e60 into rapidsai:branch-0.19 Mar 11, 2021
@davidwendt davidwendt deleted the traits-h-includes branch March 11, 2021 15:05
hyperbolic2346 pushed a commit to hyperbolic2346/cudf that referenced this pull request Mar 25, 2021
The `cpp/include/cudf/utilities/traits.hpp` file is parsed when building most libcudf source files (~200). This PR removes a couple unneeded header includes to help reduce the compile dependency. Only a couple files needed to be updated that relied on `traits.hpp` including these for them.

Authors:
  - David (@davidwendt)

Approvers:
  - Paul Taylor (@trxcllnt)
  - Jake Hemstad (@jrhemstad)

URL: rapidsai#7509
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants