Skip to content

Instantly share code, notes, and snippets.

Created February 26, 2018 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/408bd038ef53702d9eea11abe15b8985 to your computer and use it in GitHub Desktop.
Save anonymous/408bd038ef53702d9eea11abe15b8985 to your computer and use it in GitHub Desktop.
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
In file included from /usr/include/thrust/tuple.h:34:
/usr/include/thrust/detail/tuple.inl:60:23: error: no type named 'head_type' in 'thrust::null_type'
typedef typename T::head_type type;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<0, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<1, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<2, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 2, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:25: error: no type named 'tail_type' in 'thrust::null_type'
typedef typename T::tail_type Next;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<1, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<2, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<3, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 3, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
In file included from /usr/include/thrust/tuple.h:34:
/usr/include/thrust/detail/tuple.inl:60:20: error: type 'int' cannot be used prior to '::' because it has no members
typedef typename T::head_type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<0, int>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<1, thrust::null_type>' requested here
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<2, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<3, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 3, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:25: error: no type named 'tail_type' in 'thrust::null_type'
typedef typename T::tail_type Next;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<2, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<3, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<4, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 4, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:22: error: type 'int' cannot be used prior to '::' because it has no members
typedef typename T::tail_type Next;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<1, int>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<2, thrust::null_type>' requested here
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<3, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<4, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 4, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:25: error: no type named 'tail_type' in 'thrust::null_type'
typedef typename T::tail_type Next;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<3, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<4, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<5, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 5, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:22: error: type 'int' cannot be used prior to '::' because it has no members
typedef typename T::tail_type Next;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<2, int>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<3, thrust::null_type>' requested here
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<4, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<5, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 5, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:25: error: no type named 'tail_type' in 'thrust::null_type'
typedef typename T::tail_type Next;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<4, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<5, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<6, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 6, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:22: error: type 'int' cannot be used prior to '::' because it has no members
typedef typename T::tail_type Next;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<3, int>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<4, thrust::null_type>' requested here
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<5, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<6, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 6, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:25: error: no type named 'tail_type' in 'thrust::null_type'
typedef typename T::tail_type Next;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<5, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<6, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<7, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 7, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:22: error: type 'int' cannot be used prior to '::' because it has no members
typedef typename T::tail_type Next;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<4, int>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<5, thrust::null_type>' requested here
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<6, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<7, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 7, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:25: error: no type named 'tail_type' in 'thrust::null_type'
typedef typename T::tail_type Next;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<6, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<7, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<8, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 8, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:22: error: type 'int' cannot be used prior to '::' because it has no members
typedef typename T::tail_type Next;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<5, int>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<6, thrust::null_type>' requested here
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<7, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<8, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 8, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:25: error: no type named 'tail_type' in 'thrust::null_type'
typedef typename T::tail_type Next;
~~~~~~~~~~~~^~~~~~~~~
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<7, thrust::null_type>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<8, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<9, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 9, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
/usr/include/thrust/tuple.h:69:22: error: type 'int' cannot be used prior to '::' because it has no members
typedef typename T::tail_type Next;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<6, int>' requested here
typedef typename tuple_element<N-1, Next>::type type;
^
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<7, thrust::null_type>' requested here
/usr/include/thrust/tuple.h:74:22: note: in instantiation of template class 'thrust::tuple_element<8, thrust::detail::cons<double, thrust::null_type> >' requested here
/usr/include/thrust/tuple.h:121:28: note: in instantiation of template class 'thrust::tuple_element<9, thrust::detail::cons<double, thrust::detail::cons<double, thrust::null_type> > >' requested here
typename tuple_element<N, detail::cons<HT, TT> >::type
^
test.cpp:26:13: note: while substituting deduced template arguments into function template 'get' [with N = 9, HT = double, TT = thrust::detail::cons<double, thrust::null_type>]
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
test.cpp:26:12: error: no matching constructor for initialization of 'thrust::tuple<double, double, null_type, null_type, null_type, null_type, null_type, null_type, null_type, null_type>'
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
/usr/include/thrust/tuple.h:346:3: note: candidate constructor not viable: no known conversion from 'int' to 'const typename thrust::detail::remove_cv<null_type>::type' (aka 'const thrust::null_type') for 3rd argument
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:361:3: note: candidate constructor template not viable: requires single argument 'p', but 10 arguments were provided
tuple(const detail::cons<U1, U2>& p) : inherited(p) {}
^
/usr/include/thrust/tuple.h:333:3: note: candidate constructor not viable: requires 9 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:320:3: note: candidate constructor not viable: requires 8 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:307:3: note: candidate constructor not viable: requires 7 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:294:3: note: candidate constructor not viable: requires 6 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:281:3: note: candidate constructor not viable: requires 5 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:268:3: note: candidate constructor not viable: requires 4 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:255:3: note: candidate constructor not viable: requires 3 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:239:3: note: candidate constructor not viable: requires 2 arguments, but 10 were provided
tuple(typename access_traits<T0>::parameter_type t0,
^
/usr/include/thrust/tuple.h:220:3: note: candidate constructor not viable: requires single argument 't0', but 10 arguments were provided
tuple(typename access_traits<T0>::parameter_type t0)
^
/usr/include/thrust/tuple.h:197:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 10 were provided
class tuple :
^
/usr/include/thrust/tuple.h:197:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 10 were provided
/usr/include/thrust/tuple.h:213:3: note: candidate constructor not viable: requires 0 arguments, but 10 were provided
tuple(void) {}
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
In file included from /usr/include/thrust/tuple.h:34:
/usr/include/thrust/detail/tuple.inl:171:48: error: no member named 'tail' in 'thrust::detail::cons<double, thrust::null_type>'
return get_class<N-1>::template get<RET>(t.tail);
~ ^
/usr/include/thrust/detail/tuple.inl:171:37: note: in instantiation of function template specialization 'thrust::detail::get_class<1>::get<const int &, double, thrust::null_type>' requested here
return get_class<N-1>::template get<RET>(t.tail);
^
/usr/include/thrust/detail/tuple.inl:620:10: note: in instantiation of function template specialization 'thrust::detail::get_class<2>::get<const int &, double, thrust::detail::cons<double, thrust::null_type> >' requested here
get<
^
test.cpp:26:21: note: in instantiation of function template specialization 'thrust::get<2, double, thrust::detail::cons<double, thrust::null_type> >' requested here
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
In file included from /usr/include/thrust/tuple.h:34:
/usr/include/thrust/detail/tuple.inl:171:48: error: no member named 'tail' in 'thrust::detail::cons<double, thrust::null_type>'
return get_class<N-1>::template get<RET>(t.tail);
~ ^
/usr/include/thrust/detail/tuple.inl:171:37: note: in instantiation of function template specialization 'thrust::detail::get_class<2>::get<const int &, double, thrust::null_type>' requested here
return get_class<N-1>::template get<RET>(t.tail);
^
/usr/include/thrust/detail/tuple.inl:620:10: note: in instantiation of function template specialization 'thrust::detail::get_class<3>::get<const int &, double, thrust::detail::cons<double, thrust::null_type> >' requested here
get<
^
test.cpp:26:21: note: in instantiation of function template specialization 'thrust::get<3, double, thrust::detail::cons<double, thrust::null_type> >' requested here
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
In file included from test.cpp:4:
In file included from /usr/include/thrust/host_vector.h:26:
In file included from /usr/include/thrust/detail/vector_base.h:29:
In file included from /usr/include/thrust/detail/contiguous_storage.h:155:
In file included from /usr/include/thrust/detail/contiguous_storage.inl:22:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.h:46:
In file included from /usr/include/thrust/detail/allocator/copy_construct_range.inl:21:
In file included from /usr/include/thrust/detail/copy.h:90:
In file included from /usr/include/thrust/detail/copy.inl:21:
In file included from /usr/include/thrust/system/detail/generic/copy.h:58:
In file included from /usr/include/thrust/system/detail/generic/copy.inl:21:
In file included from /usr/include/thrust/functional.h:26:
In file included from /usr/include/thrust/detail/functional/placeholder.h:20:
In file included from /usr/include/thrust/detail/functional/actor.h:29:
In file included from /usr/include/thrust/tuple.h:34:
/usr/include/thrust/detail/tuple.inl:171:48: error: no member named 'tail' in 'thrust::detail::cons<double, thrust::null_type>'
return get_class<N-1>::template get<RET>(t.tail);
~ ^
/usr/include/thrust/detail/tuple.inl:171:37: note: in instantiation of function template specialization 'thrust::detail::get_class<3>::get<const int &, double, thrust::null_type>' requested here
return get_class<N-1>::template get<RET>(t.tail);
^
/usr/include/thrust/detail/tuple.inl:620:10: note: in instantiation of function template specialization 'thrust::detail::get_class<4>::get<const int &, double, thrust::detail::cons<double, thrust::null_type> >' requested here
get<
^
test.cpp:26:21: note: in instantiation of function template specialization 'thrust::get<4, double, thrust::detail::cons<double, thrust::null_type> >' requested here
return {thrust::get<I>(lhs) + thrust::get<I>(rhs) ...};
^
test.cpp:38:24: note: in instantiation of function template specialization 'thrust_ext::detail::plus<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9>' requested here
return detail::plus(lhs,rhs,detail::make_index_sequence<sizeof...(T)>{});
^
/usr/include/thrust/detail/function.h:69:32: note: in instantiation of member function 'thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()' requested here
return static_cast<Result>(m_f(thrust::raw_reference_cast(x), thrust::raw_reference_cast(y)));
^
/usr/include/thrust/system/detail/sequential/reduce.h:61:14: note: in instantiation of function template specialization 'thrust::detail::wrapped_function<thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >::operator()<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> >' requested here
result = wrapped_binary_op(result, *begin);
^
/usr/include/thrust/detail/reduce.inl:71:10: note: in instantiation of function template specialization 'thrust::system::detail::sequential::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return reduce(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, init, binary_op);
^
/usr/include/thrust/detail/reduce.inl:186:18: note: in instantiation of function template specialization 'thrust::reduce<thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
return thrust::reduce(select_system(system), first, last, init, binary_op);
^
test.cpp:47:22: note: in instantiation of function template specialization 'thrust::reduce<thrust::detail::normal_iterator<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> *>, thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>, thrust_ext::plus<thrust::tuple<double, double, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> > >' requested here
auto r = thrust::reduce(v.begin(), v.end(),
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment