-
Notifications
You must be signed in to change notification settings - Fork 757
thrust::find doesn't handle asymmetric equality operator #1229
Comments
I just realized that the regression is in the 1.9.10-1 branch, not just in main. This is a regression in our soon-to-be-code-frozen release. Please get the fix into 1.9.10-1 ASAP. |
If it's what I think it is, we can revert the change in the staging branch ASAP. We should be able to just revert the commit that was likely to introduce this. If you get a chance to test this out tonight let me know, but otherwise I'll test it out and integrate it tomorrow. In your thrust git repo, checkout the staging branch and revert f483906.
|
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
this issue is also present with |
@bjude All issues from using heterogeneous types in the placeholder code will be fixed by that patch. If you have a small reproduction of the case you encountered, please share it and I'll verify/add a regression test for it. |
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixes and adds regression tests for NVIDIA#1178 & NVIDIA#1229.
Fixed in #1237. |
thrust::find
fails to compile when the input iterator's value type is different from the type of the value being searched for and neither type is convertible to the other, even when there is an overloadedoperator==
that takes objects of those two different types.Given the following CUDA program:
When compiled with NVCC 11.0 and the latest Thrust source from the main branch, this fails with:
(followed by a typical template instantiation novel).
This is a recent regression. It broke somewhere between July 3 and July 6. I have not looked to see which commit might have caused the regression. When compiled with the Thrust in CUDA 11.0, this test case compiles successfully.
The text was updated successfully, but these errors were encountered: