Skip to content

CUDA 12.1, 12.2, 12.3, 12.4 constexpr issues, FIXED in CUDA 12.5 #1766

@havogt

Description

@havogt

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions