Failing Kokkos static_asserts in tests.
Created by: masterleinad
I am currently seeing errors like
/ccs/home/darndt/kokkos-install/include/Kokkos_View.hpp(1765): error: static assertion failed with "Incompatible View copy construction"
detected during:
instantiation of "Kokkos::View<DataType, Properties...>::View(const Kokkos::View<RT, RP...> &, std::enable_if<Kokkos::Impl::ViewMapping<Kokkos::View<DataType, Properties...>::traits, Kokkos::View<RT, RP...>::traits, Kokkos::ViewTraits<DataType, Properties...>::specialize>::is_assignable_data_type, void>::type *) [with DataType=int *, Properties=<Kokkos::CudaSpace::execution_space>, RT=int *, RP=<Kokkos::CudaSpace::device_type>]"
/ccs/home/darndt/sources/arborx/src/details/ArborX_DetailsUtils.hpp(88): here
instantiation of "void ArborX::exclusivePrefixSum(const Kokkos::View<ST, SP...> &, const Kokkos::View<DT, DP...> &) [with ST=int *, SP=<Kokkos::CudaSpace::device_type>, DT=int *, DP=<Kokkos::CudaSpace::device_type>]"
/ccs/home/darndt/sources/arborx/test/tstDetailsUtils.cpp(60): here
instantiation of "void prefix_sum<DeviceType>::test_method() [with DeviceType=Kokkos::CudaSpace::device_type]"
/ccs/home/darndt/sources/arborx/test/tstDetailsUtils.cpp(49): here
instantiation of "void prefix_sum_invoker::run(boost::type<TestType> *) [with TestType=Kokkos::CudaSpace::device_type]"
/ccs/home/darndt/boost-install/include/boost/test/tree/test_case_template.hpp(70): here
instantiation of "void boost::unit_test::ut_detail::test_case_template_invoker<TestCaseTemplate, TestType>::operator()() [with TestCaseTemplate=prefix_sum_invoker, TestType=Kokkos::CudaSpace::device_type]"
/ccs/home/darndt/boost-install/include/boost/function/function_template.hpp(158): here
[ 5 instantiation contexts not shown ]
instantiation of "void boost::mpl::aux::for_each_impl<false>::execute(Iterator *, LastIterator *, TransformFunc *, F) [with Iterator=boost::mpl::fusion_iterator<boost::fusion::std_tuple_iterator<std::tuple<Kokkos::Serial::device_type, Kokkos::OpenMP::device_type, Kokkos::CudaSpace::device_type, Kokkos::CudaUVMSpace::device_type>, 2>>, LastIterator=boost::mpl::fusion_iterator<boost::fusion::std_tuple_iterator<ARBORX_DEVICE_TYPES, 4>>, TransformFunc=boost::mpl::make_identity<mpl_::_>, F=boost::unit_test::ut_detail::generate_test_case_4_type<boost::unit_test::ut_detail::template_test_case_gen<prefix_sum_invoker, ARBORX_DEVICE_TYPES, void>, prefix_sum_invoker>]"
/ccs/home/darndt/boost-install/include/boost/mpl/for_each.hpp(82): here
instantiation of "void boost::mpl::aux::for_each_impl<false>::execute(Iterator *, LastIterator *, TransformFunc *, F) [with Iterator=boost::mpl::fusion_iterator<boost::fusion::std_tuple_iterator<std::tuple<Kokkos::Serial::device_type, Kokkos::OpenMP::device_type, Kokkos::CudaSpace::device_type, Kokkos::CudaUVMSpace::device_type>, 1>>, LastIterator=boost::mpl::fusion_iterator<boost::fusion::std_tuple_iterator<ARBORX_DEVICE_TYPES, 4>>, TransformFunc=boost::mpl::make_identity<mpl_::_>, F=boost::unit_test::ut_detail::generate_test_case_4_type<boost::unit_test::ut_detail::template_test_case_gen<prefix_sum_invoker, ARBORX_DEVICE_TYPES, void>, prefix_sum_invoker>]"
/ccs/home/darndt/boost-install/include/boost/mpl/for_each.hpp(82): here
instantiation of "void boost::mpl::aux::for_each_impl<false>::execute(Iterator *, LastIterator *, TransformFunc *, F) [with Iterator=boost::mpl::fusion_iterator<boost::fusion::std_tuple_iterator<std::tuple<Kokkos::Serial::device_type, Kokkos::OpenMP::device_type, Kokkos::CudaSpace::device_type, Kokkos::CudaUVMSpace::device_type>, 0>>, LastIterator=boost::mpl::fusion_iterator<boost::fusion::std_tuple_iterator<ARBORX_DEVICE_TYPES, 4>>, TransformFunc=boost::mpl::make_identity<mpl_::_>, F=boost::unit_test::ut_detail::generate_test_case_4_type<boost::unit_test::ut_detail::template_test_case_gen<prefix_sum_invoker, ARBORX_DEVICE_TYPES, void>, prefix_sum_invoker>]"
/ccs/home/darndt/boost-install/include/boost/mpl/for_each.hpp(105): here
instantiation of "void boost::mpl::for_each(F, Sequence *, TransformOp *) [with Sequence=ARBORX_DEVICE_TYPES, TransformOp=boost::mpl::make_identity<mpl_::_>, F=boost::unit_test::ut_detail::generate_test_case_4_type<boost::unit_test::ut_detail::template_test_case_gen<prefix_sum_invoker, ARBORX_DEVICE_TYPES, void>, prefix_sum_invoker>]"
/ccs/home/darndt/boost-install/include/boost/test/tree/test_case_template.hpp(152): here
instantiation of "boost::unit_test::ut_detail::template_test_case_gen<TestCaseTemplate, TestTypesList, enabler>::template_test_case_gen(boost::unit_test::const_string, boost::unit_test::const_string, std::size_t) [with TestCaseTemplate=prefix_sum_invoker, TestTypesList=ARBORX_DEVICE_TYPES, enabler=void]"
/ccs/home/darndt/sources/arborx/test/tstDetailsUtils.cpp(49): here