You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Similar to how cuda::std::invoke_result has a static_assert warning about accessing extended lambda return type from host where its not available, it would make sense to add such assert to cuda::std::is_invocable. Right now it just always returns true, no matter what argument types are passed into it
Describe the solution you'd like
It would be nice if is_invocable would fail to compile when used in host code on an extended lambda
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is this a duplicate?
Area
libcu++
Is your feature request related to a problem? Please describe.
Similar to how cuda::std::invoke_result has a static_assert warning about accessing extended lambda return type from host where its not available, it would make sense to add such assert to cuda::std::is_invocable. Right now it just always returns true, no matter what argument types are passed into it
Describe the solution you'd like
It would be nice if is_invocable would fail to compile when used in host code on an extended lambda
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: