summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/detail/serial_reduce.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/detail/serial_reduce.hpp')
-rw-r--r--boost/compute/algorithm/detail/serial_reduce.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/boost/compute/algorithm/detail/serial_reduce.hpp b/boost/compute/algorithm/detail/serial_reduce.hpp
index 53aaf140fe..8b121274b9 100644
--- a/boost/compute/algorithm/detail/serial_reduce.hpp
+++ b/boost/compute/algorithm/detail/serial_reduce.hpp
@@ -20,6 +20,7 @@ namespace boost {
namespace compute {
namespace detail {
+// Space complexity: O(1)
template<class InputIterator, class OutputIterator, class BinaryFunction>
inline void serial_reduce(InputIterator first,
InputIterator last,