Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix ambiguous overload when using partition with STL containers #1272

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

nvibd
Copy link
Contributor

@nvibd nvibd commented Sep 8, 2020

This fixes the error:

error: more than one instance of overloaded function "thrust::system::detail::sequential::iter_swap" matches the argument list:

When, e.g., using STL containers with thrust::partition. Such as in this example: https://www.godbolt.org/z/dfsn6f

This fix has been proposed by @dkolsen-pgi. Many thanks!

@alliepiper
Copy link
Collaborator

LGTM. Testing under internal CL 29046334.

@alliepiper alliepiper added the testing: gpuCI passed Passed gpuCI testing. label Sep 11, 2020
@brycelelbach brycelelbach added this to the 1.11.0 milestone Sep 16, 2020
@alliepiper alliepiper added this to Inbox in PR Tracking Sep 16, 2020
@alliepiper alliepiper moved this from Inbox to Testing [PRs] in PR Tracking Sep 16, 2020
@alliepiper alliepiper moved this from Needs Testing [PRs] to Tests Pending [PRs] in PR Tracking Sep 21, 2020
@alliepiper alliepiper moved this from Tests Pending [PRs] to Integration [PRs] in PR Tracking Sep 21, 2020
@alliepiper alliepiper added the testing: internal ci passed Passed internal NVIDIA CI (DVS). label Sep 21, 2020
@alliepiper alliepiper merged commit 2f1e9cc into NVIDIA:main Sep 21, 2020
PR Tracking automation moved this from Integration [PRs] to Done Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing: gpuCI passed Passed gpuCI testing. testing: internal ci passed Passed internal NVIDIA CI (DVS).
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants