-
Notifications
You must be signed in to change notification settings - Fork 187
Backport C++17 type_traits and cuda::std::byte to C++14 #44
Conversation
Found them in |
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.
Looking at the diff made me realize that you're also enabling the variable templates for the traits, but not the tests around the variable templates, like here: https://github.com/NVIDIA/libcudacxx/blob/main/.upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_abstract.pass.cpp#L24-L29. I'll leave it up to you whether you want to enable those in this PR or if you want to do that in a future one to help you folks move to this repo in RAPIDS, since those tests will quite obviously pass.
Thanks for noticing that. I didn't see the guards in the tests themselves. I updated them all to test in C++14 and they all passed. |
Kicked off internal CI at CL 29255931. |
It looks like MSVC doesn't accept |
I added a MSVC version check for >19.14. |
Re-running internal CI, CL 29261259. |
|
7bc8681
to
30cdf58
Compare
Clarification: it's the libc++ version of the test that's XPASSing, in |
30cdf58
to
2f212ba
Compare
I backported std::byte to work in C++14. Because this test used XFAIL, the test now unexpectedly passes instead of fails. I updated to use UNSUPPORTED instead to avoid an unexpected pass.
Broken off from #10
Backports
<type_traits>
features from C++17 to make them available in C++14Backports tests of type traits to make them supported in C++14
Backports
cuda::std::byte
to be available in C++14 (this was necessary to make some tests pass as a result of the<type_traits>
changes