#include <hydra/detail/Config.h>
#include <hydra/detail/BackendPolicy.h>
#include <utility>
#include <hydra/detail/external/hydra_thrust/reduce.h>
#include <hydra/detail/external/hydra_thrust/iterator/iterator_traits.h>
#include <hydra/Range.h>
Go to the source code of this file.
|
| hydra |
| Generic policies definition.
|
|
|
template<typename Iterable > |
std::enable_if< hydra::detail::is_iterable< Iterable >::value, typename hydra::thrust::iterator_traits< decltype(std::declval< Iterable >).begin())>::value_type >::type | hydra::reduce (Iterable &&iterable) |
|
template<typename Iterable , typename Functor , typename T = typename hydra::thrust::iterator_traits< decltype(std::declval<Iterable>().begin())>::value_type> |
std::enable_if< hydra::detail::is_iterable< Iterable >::value, T >::type | hydra::reduce (Iterable &&iterable, T const &init, Functor const &binary_functor) |
|
◆ REDUCE_INL_