Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test proclaim_copyable_arguments for lambdas #2833

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bernhardmgruber
Copy link
Contributor

@bernhardmgruber bernhardmgruber commented Nov 15, 2024

Trying to fix: #2834

@bernhardmgruber
Copy link
Contributor Author

I get a lot of these:

2024-11-22T22:57:29.8159770Z nvcc_internal_extended_lambda_implementation:312:22: error: definition of implicit copy constructor for '__nv_hdl_wrapper_t<false, true, false, __nv_dl_tag<void (*)(), &TestAddressStabilityLambda, 2>, int (const int &)>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
2024-11-22T22:57:29.8164057Z __nv_hdl_wrapper_t & operator=(const __nv_hdl_wrapper_t &in) = delete;
2024-11-22T22:57:29.8164639Z                      ^
2024-11-22T22:57:29.8166375Z /home/coder/cccl/thrust/testing/address_stability.cu:113:10: note: in implicit copy constructor for '__nv_hdl_wrapper_t<false, true, false, __nv_dl_tag<void (*)(), &TestAddressStabilityLambda, 2>, int (const int &)>' first required here
2024-11-22T22:57:29.8168315Z auto l = __nv_hdl_create_wrapper_t< false, true, __nv_dl_tag<void (*)(void),(& ::TestAddressStabilityLambda),2> >::__nv_hdl_create_wrapper( [](const int &i) { 
2024-11-22T22:57:29.8172189Z          ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[BUG]: Proclaiming copyable arguments for lambdas fails to compile
1 participant