summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/count.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/count.hpp')
-rw-r--r--boost/compute/algorithm/count.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/boost/compute/algorithm/count.hpp b/boost/compute/algorithm/count.hpp
index 140d67379f..7a502c6791 100644
--- a/boost/compute/algorithm/count.hpp
+++ b/boost/compute/algorithm/count.hpp
@@ -23,6 +23,9 @@ namespace compute {
/// Returns the number of occurrences of \p value in the range
/// [\p first, \p last).
///
+/// Space complexity on CPUs: \Omega(1)<br>
+/// Space complexity on GPUs: \Omega(n)
+///
/// \see count_if()
template<class InputIterator, class T>
inline size_t count(InputIterator first,