KEMBAR78
Replace [[unlikely]] with unlikely(x) by Danielmic · Pull Request #130816 · pytorch/pytorch · GitHub
Skip to content

Conversation

@Danielmic
Copy link
Contributor

@Danielmic Danielmic commented Jul 16, 2024

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 16, 2024

🔗 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 Failures

As of commit 9b5e3fa with merge base 919e384 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 16, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: Danielmic / name: Danielmic (9b5e3fa)

@soulitzer soulitzer requested review from jansel and jgong5 July 18, 2024 00:56
@soulitzer soulitzer added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jul 18, 2024
Copy link
Collaborator

@jgong5 jgong5 left a 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?

@malfet malfet added this to the 2.4.1 milestone Aug 7, 2024
@malfet
Copy link
Contributor

malfet commented Aug 7, 2024

@pytorchbot merge -r

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 7, 2024
@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Successfully rebased Danielmic-fix-likely-issue-on-compiler onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout Danielmic-fix-likely-issue-on-compiler && git pull --rebase)

@pytorchmergebot pytorchmergebot force-pushed the Danielmic-fix-likely-issue-on-compiler branch from b05fcf9 to 9b5e3fa Compare August 7, 2024 07:10
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@atalman
Copy link
Contributor

atalman commented Aug 15, 2024

@pytorchbot cherry-pick --onto release/2.4 -c critical --fixes #130815

pytorchbot pushed a commit that referenced this pull request Aug 15, 2024
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)
@pytorchbot
Copy link
Collaborator

Cherry picking #130816

The cherry pick PR is at #133583 and it is linked with issue #30815. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

atalman pushed a commit that referenced this pull request Aug 20, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: inductor open source release notes: inductor topic: bug fixes topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[inductor] build failed with gcc8.3

8 participants