-
Notifications
You must be signed in to change notification settings - Fork 192
Fix <tuple> on MSVC #56
Conversation
00db28e to
48b9300
Compare
|
After a few touch ups MSVC builds clean with only four tests unsupported. Testing Time: 136.69s two of these are actually ICEs or MSVC not supporting something. Incomplete types for example cannot be used with some intrinsics. |
|
|
||
| Tup t2(E(0)); | ||
| static_assert(!test_convertible<Tup, E>(), ""); | ||
| assert(cuda::std::get<0>(t) == 0); |
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.
...that's embarrassing.
48b9300 to
1085582
Compare
|
Internal CI run on CL 29115815 |
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.
This looks good to me. Have you tested with NVRTC?
|
A fresh internal CI run includes an NVRTC pass. |
|
NVRTC is clean on local builds, however I picked this up after updating to latest available GCC: #67 I'll see if I can submit a fix for this later. It's not related to this change for the time being and breaks on main. |
063236b to
520bdbc
Compare
…d more specific ctor targets
…eference before using type as reference (pedantic msvc error)
81fa927 to
b2af011
Compare
|
CI showed that I missed the case for when |
…ctly short-circuit evaluation of is_constructible
| // into issues with libc++. However GCC accepts this code when compiling | ||
| // against libstdc++. | ||
| // XFAIL: gcc-5, gcc-6, gcc-7 | ||
| // XFAIL: gcc-5, gcc-6, gcc-7, gcc-10.2 |
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.
See issue #67 about this failure.
It could be resolvable with some investigation since earlier versions are passing.
|
CI is clean after marking the last few failures as expected or having fixed them. I'll go ahead and merge this. CL: 29308251 |
decltypeis a culprit for a slew of MSVC bugs. About 50 failures have been fixed by hacking the__tuple_sfinae_basetrait.Tests that still need to be addressed: