Skip to content

Take advantage of C++17 in scalar_type_util.h #6968

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

Merged
merged 6 commits into from
Nov 21, 2024

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Nov 19, 2024

Stack from ghstack (oldest at bottom):

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: D66181946

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Nov 19, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6968

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 0e992c6 with merge base 43555d2 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 19, 2024
swolchok added a commit that referenced this pull request Nov 19, 2024
I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

ghstack-source-id: 254388438
Pull Request resolved: #6968
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66181946

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Nov 19, 2024
Pull Request resolved: #6968

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)
ghstack-source-id: 254409669
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66181946

Copy link
Contributor

@dbort dbort left a comment

Choose a reason for hiding this comment

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

Approving optimistically, but please make sure CI jobs run properly after the SEV is mitigated

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Nov 20, 2024
Pull Request resolved: #6968

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.
ghstack-source-id: 254479808

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66181946

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Nov 20, 2024
Pull Request resolved: #6968

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.
ghstack-source-id: 254597889

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66181946

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Nov 20, 2024
Pull Request resolved: #6968

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.
ghstack-source-id: 254600078

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66181946

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Nov 21, 2024
Pull Request resolved: #6968

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.
ghstack-source-id: 254805946

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66181946

@swolchok swolchok merged commit b75e95e into gh/swolchok/116/base Nov 21, 2024
40 of 42 checks passed
@swolchok swolchok deleted the gh/swolchok/116/head branch November 21, 2024 22:11
swolchok added a commit that referenced this pull request Nov 21, 2024
Pull Request resolved: #6968

I generated a big ugly table because we couldn't make promoteTypes constexpr before we had C++17. Now we have C++17.
ghstack-source-id: 254805946

Differential Revision: [D66181946](https://our.internmc.facebook.com/intern/diff/D66181946/)

Co-authored-by: Scott Wolchok <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants