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

Fix proclaim_return_type copy constructor #386

Conversation

gevtushenko
Copy link
Collaborator

There's no way to use cuda::proclaim_return_type because we can't copy it. This PR SFINAE out template copy constructor and adds a default one to address the issue.

@gevtushenko gevtushenko requested a review from miscco March 9, 2023 15:06
include/cuda/functional Outdated Show resolved Hide resolved
@jrhemstad
Copy link
Collaborator

@wmaxey Ideally we should get this into 2.1. As more people start using Thrust from CUDA 12, they are going to run into the error from using __device__ lambdas and our suggested solution is to use cuda::proclaim_return_type. But it isn't really usable without this fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants