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

Updating Clang Version to 11.0.0 #6695

Merged
merged 38 commits into from
Jul 7, 2021
Merged

Conversation

codereport
Copy link
Contributor

@codereport codereport commented Nov 6, 2020

This resolves: #5187

PR description copied from: rapidsai/cuml#3121

Depends on: rapidsai/integration#304

This PR will upgrade the clang version required to 11.0.0 in order to enable us with running clang-tidy on .cu files, while running on cuda v11. See rapidsai/raft#88 for more details.

CI will not pass as the underlying conda-env still uses 8.0.1. Once we have the rapids-build-env meta package updated, this should pass.


Fixes from Clang 8.0.1 to Clang 11.0.0 (that are observed in delta)

  • Missing spaces
  • Incorrect alignment when ternary expression splits across multiple lines
  • Comment alignment on macros
  • Fixed where function signatures have line breaks
  • Aligning macros
  • Always left align pointer/reference
  • Don't allow single line for loops

To do list:

@codereport codereport added 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. labels Nov 6, 2020
@codereport codereport requested review from a team as code owners November 6, 2020 15:40
@codereport codereport self-assigned this Nov 6, 2020
@GPUtester
Copy link
Collaborator

Please update the changelog in order to start CI tests.

View the gpuCI docs here.

@codecov
Copy link

codecov bot commented Nov 6, 2020

Codecov Report

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

❗ Current head ef10e1e differs from pull request most recent head 6632d7f. Consider uploading reports for the commit 6632d7f to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.08    #6695   +/-   ##
===============================================
  Coverage                ?   10.64%           
===============================================
  Files                   ?      109           
  Lines                   ?    18654           
  Branches                ?        0           
===============================================
  Hits                    ?     1985           
  Misses                  ?    16669           
  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 d77ba82...6632d7f. Read the comment docs.

@harrism
Copy link
Member

harrism commented Nov 23, 2020

@codereport should we push this to 0.18?

@codereport
Copy link
Contributor Author

@codereport should we push this to 0.18?

Yep, let's do that.

@codereport codereport changed the title [WIP] Updating Clang Version to 11.0.0 Updating Clang Version to 11.0.0 Dec 11, 2020
@codereport codereport marked this pull request as draft December 11, 2020 00:24
@harrism
Copy link
Member

harrism commented Feb 3, 2021

@codereport maybe we can get to this in 0.19.

@harrism harrism changed the base branch from branch-0.17 to branch-0.19 February 3, 2021 04:20
@codereport
Copy link
Contributor Author

@codereport maybe we can get to this in 0.19.

Yea sorry, this has been on the back burner. Will be one of my focuses in .19

@codereport codereport added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 3 - Ready for Review Ready for review by team labels Jun 28, 2021
@cwharris
Copy link
Contributor

cwharris commented Jul 4, 2021

@codereport we're missing a really great opportunity to title this PR

“Turn Clang up to 11”

@codereport
Copy link
Contributor Author

rerun tests

1 similar comment
@codereport
Copy link
Contributor Author

rerun tests

rapids-bot bot pushed a commit to rapidsai/rmm that referenced this pull request Jul 6, 2021
Follow up PR to: rapidsai/cudf#6695. Performing the same changes but for `rapidsai/rmm`

Depends on: rapidsai/integration#304

Authors:
  - Conor Hoekstra (https://github.com/codereport)

Approvers:
  - Rong Ou (https://github.com/rongou)
  - Christopher Harris (https://github.com/cwharris)
  - Dillon Cullinan (https://github.com/dillon-cullinan)

URL: #814
rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Jul 6, 2021
Follow up PR to: rapidsai/cudf#6695. Performing the same changes but for `rapidsai/cuspatial`

Depends on: rapidsai/integration#304

Authors:
  - Conor Hoekstra (https://github.com/codereport)

Approvers:
  - Dillon Cullinan (https://github.com/dillon-cullinan)
  - H. Thomson Comer (https://github.com/thomcom)

URL: #426
@codereport
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 7721819 into rapidsai:branch-21.08 Jul 7, 2021
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Jul 7, 2021
Follow up PR to: rapidsai/cudf#6695. Performing the same changes but for `rapidsai/cugraph`

Depends on: rapidsai/integration#304

Authors:
  - Conor Hoekstra (https://github.com/codereport)

Approvers:
  - Dillon Cullinan (https://github.com/dillon-cullinan)
  - Chuck Hastings (https://github.com/ChuckHastings)

URL: #1688
rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Jul 9, 2021
Follow up PR to: rapidsai/cudf#6695. Performing the same changes but for `rapidsai/cuml`

Depends on: rapidsai/integration#304

Authors:
  - Conor Hoekstra (https://github.com/codereport)

Approvers:
  - William Hicks (https://github.com/wphicks)
  - AJ Schmidt (https://github.com/ajschmidt8)
  - Robert Maynard (https://github.com/robertmaynard)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: #4029
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
Follow up PR to: rapidsai/cudf#6695. Performing the same changes but for `rapidsai/cuml`

Depends on: rapidsai/integration#304

Authors:
  - Conor Hoekstra (https://github.com/codereport)

Approvers:
  - William Hicks (https://github.com/wphicks)
  - AJ Schmidt (https://github.com/ajschmidt8)
  - Robert Maynard (https://github.com/robertmaynard)
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#4029
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge 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.

[FEA] Upgrade clang-format to Clang 11 and other adjustments
7 participants