Closed
Description
https://godbolt.org/z/3cP5v4cbd
Basically, nvcc does not check availability by host/device attributes in std::is_invocable_v but clang does. This makes std::is_invocable_v returns false for a host function in a kernel for clang but not for nvcc.
Open this issue to discuss whether this should be treated as a clang bug.