Skip to content

Conversation

@smessmer
Copy link
Contributor

@smessmer smessmer commented Oct 14, 2019

Stack from ghstack:

Differential Revision: D17908478

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Oct 14, 2019
@smessmer smessmer mentioned this pull request Oct 14, 2019
smessmer added a commit that referenced this pull request Oct 14, 2019
Copy link
Contributor

@soumith soumith left a 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 :)

smessmer added a commit that referenced this pull request Oct 14, 2019
@peterjc123
Copy link
Collaborator

@soumith According to this table, all the C++ 14 features are available in VS 2017. /std:c++14 is automatically enabled in MSVC 2017, so there is actually nothing we should do to add C++ 14 support. More details could be found here.

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)
Copy link
Contributor

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.

smessmer added a commit that referenced this pull request Oct 17, 2019
@smessmer smessmer mentioned this pull request Oct 17, 2019
smessmer added a commit that referenced this pull request Oct 17, 2019
smessmer added a commit that referenced this pull request Oct 17, 2019
@smessmer smessmer merged commit 5fed937 into gh/smessmer/72/base Nov 25, 2019
smessmer added a commit that referenced this pull request Nov 25, 2019
@smessmer
Copy link
Contributor Author

This is not merged yet, there was an error in the export. Re-created this PR in #30406.

@smessmer smessmer mentioned this pull request Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants