CUDA 12.1 and CUDA 12.2 seem to have (once again) problems with constexpr construction.
E.g. the following was fine in 12.0, but fails to compile now:
template <class T>
struct foo {
T m;
constexpr foo(T const &a) : m(a) {}
};
int main() {
auto f = foo([]{});
}
where foo can be std::tuple.