-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Replace [[unlikely]] with unlikely(x) #130816
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
Replace [[unlikely]] with unlikely(x) #130816
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/130816
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9b5e3fa with merge base 919e384 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
|
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.
I thought the minimal GCC version PyTorch supports is GCC9?
|
@pytorchbot merge -r |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
b05fcf9 to
9b5e3fa
Compare
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot cherry-pick --onto release/2.4 -c critical --fixes #130815 |
Do not use `[[unlikely]]` as its c++20 language features, see https://en.cppreference.com/w/cpp/language/attributes/likely Fixes #130815 Pull Request resolved: #130816 Approved by: https://github.com/jgong5, https://github.com/jansel, https://github.com/malfet (cherry picked from commit 32f9a80)
Cherry picking #130816The cherry pick PR is at #133583 and it is linked with issue #30815. The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Replace [[unlikely]] with unlikely(x) (#130816) Do not use `[[unlikely]]` as its c++20 language features, see https://en.cppreference.com/w/cpp/language/attributes/likely Fixes #130815 Pull Request resolved: #130816 Approved by: https://github.com/jgong5, https://github.com/jansel, https://github.com/malfet (cherry picked from commit 32f9a80) Co-authored-by: Danielmic <30855238+Danielmic@users.noreply.github.com>
Do not use
[[unlikely]]as its c++20 language features, see https://en.cppreference.com/w/cpp/language/attributes/likelyFixes #130815
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang