-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[wip] Switch to C++14 #27864
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
[wip] Switch to C++14 #27864
Conversation
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Pull Request resolved: #27864 ghstack-source-id: 91872594 Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/)
soumith
left a comment
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.
conditional on CI passing.
@peterjc123 anything to know about C++14 and Windows incompatibility, now is the time to speak :)
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Pull Request resolved: #27864 ghstack-source-id: 91896396 Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/)
cmake/Dependencies.cmake
Outdated
| list(APPEND HIP_CXX_FLAGS -Wno-duplicate-decl-specifier) | ||
| list(APPEND HIP_CXX_FLAGS -DCAFFE2_USE_MIOPEN) | ||
| list(APPEND HIP_CXX_FLAGS -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_HIP) | ||
| list(APPEND HIP_CXX_FLAGS -std=gnu++14) |
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.
-std=gnu++14 -> -std=c++14, hcc doesn't support gnu extensions.
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Pull Request resolved: #27864 ghstack-source-id: 92081119 Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/)
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Pull Request resolved: #27864 ghstack-source-id: 92086808 Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/)
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Pull Request resolved: #27864 ghstack-source-id: 92099795 Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/)
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/) [ghstack-poisoned]
Pull Request resolved: #27864 ghstack-source-id: 94519851 Differential Revision: [D17908478](https://our.internmc.facebook.com/intern/diff/D17908478/)
|
This is not merged yet, there was an error in the export. Re-created this PR in #30406. |
Stack from ghstack:
Differential Revision: D17908478