[clang] std::is_invocable fails for __device__ operator() #70006
Labels
bug
Indicates an unexpected problem or unintended behavior
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
cuda
duplicate
Resolved as duplicate
https://godbolt.org/z/WMx5YdYEW
If an
operator()
is marked__device__
,std::is_invocable
fails for that object. This works on nvcc.I've tried to track this down a bit but I'm unable to. I believe it may have something to do with
declval
but I'm not sure.Is this a clang issue, or is nvcc incorrect here?
The text was updated successfully, but these errors were encountered: