24#ifndef MORPHEUS_REDUCTION_HPP
25#define MORPHEUS_REDUCTION_HPP
27#include <impl/Morpheus_Reduction_Impl.hpp>
46template <
typename ExecSpace,
typename Vector>
47typename Vector::value_type
reduce(
const Vector& in,
48 typename Vector::size_type size) {
49 static_assert(is_dense_vector_format_container_v<Vector>,
50 "in must be a DenseVector container");
51 return Impl::reduce<ExecSpace>(in, size);
Vector::value_type reduce(const Vector &in, typename Vector::size_type size)
Performs a sum reduction on the contents of a vector.
Definition: Morpheus_Reduction.hpp:47
Generic Morpheus interfaces.
Definition: dummy.cpp:24