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
{{ message }}
This repository was archived by the owner on Dec 17, 2020. It is now read-only.
Apparently, HIP doesn't like aggregate initialization. It fails with errors like
In file included from kokkos/core/unit_test/serial/TestSerial_MDRange_a.cpp:46:
In file included from kokkos/core/unit_test/TestMDRange_a.hpp:44:
kokkos/core/unit_test/TestMDRange.hpp:2462:24: error: no matching constructor for initialization of 'point_type' (aka 'Array<long, rank>')
range_type range(point_type{{0, 0, 0, 0, 0}},
^ ~~~~~~~~~~~~~~~~~
kokkos/core/unit_test/TestMDRange_a.hpp:53:35: note: in instantiation of member function 'Test::(anonymous namespace)::TestMDRange_5D<Kokkos::Serial>::test_for5' requested here
TestMDRange_5D<TEST_EXECSPACE>::test_for5(100, 10, 10, 10, 5);
^
kokkos/core/src/Kokkos_Array.hpp:113:8: note: candidate constructor (the implicit copy constructor) not viable: cannot convert initializer list argument to 'const Kokkos::Array<long, 5, void>'
struct Array {
^
kokkos/core/src/Kokkos_Array.hpp:113:8: note: candidate constructor (the implicit move constructor) not viable: cannot convert initializer list argument to 'Kokkos::Array<long, 5, void>'
kokkos/core/src/Kokkos_Array.hpp:113:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
The text was updated successfully, but these errors were encountered:
Apparently,
HIP
doesn't like aggregate initialization. It fails with errors likeThe text was updated successfully, but these errors were encountered: