summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/count_if.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/count_if.hpp')
-rw-r--r--boost/compute/algorithm/count_if.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/boost/compute/algorithm/count_if.hpp b/boost/compute/algorithm/count_if.hpp
index c9381ce5d4..81996dc828 100644
--- a/boost/compute/algorithm/count_if.hpp
+++ b/boost/compute/algorithm/count_if.hpp
@@ -25,6 +25,9 @@ namespace compute {
/// Returns the number of elements in the range [\p first, \p last)
/// for which \p predicate returns \c true.
+///
+/// Space complexity on CPUs: \Omega(1)<br>
+/// Space complexity on GPUs: \Omega(n)
template<class InputIterator, class Predicate>
inline size_t count_if(InputIterator first,
InputIterator last,