From fa1bf3f9ae0dc889d1d8262c27b84ba67d975f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20J=C3=BCnger?= Date: Fri, 30 Aug 2024 15:48:31 +0000 Subject: [PATCH] Fix docs --- include/cuco/bloom_filter.cuh | 10 +++++----- include/cuco/bloom_filter_ref.cuh | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/cuco/bloom_filter.cuh b/include/cuco/bloom_filter.cuh index 08e75f038..1101da25f 100644 --- a/include/cuco/bloom_filter.cuh +++ b/include/cuco/bloom_filter.cuh @@ -41,12 +41,12 @@ namespace cuco { * - Device-side "singular" operations * * The host-side bulk operations include `add`, `test`, etc. These APIs should be used when - * there are a large number of keys to modify or lookup. For example, given a range of keys - * specified by device-accessible iterators, the bulk `add` function will insert all keys into + * there are a large number of keys to add or lookup. For example, given a range of keys + * specified by device-accessible iterators, the bulk `add` function will add all keys into * the filter. * * The singular device-side operations allow individual threads (or Cooperative Groups) to perform - * independent modify or lookup operations from device code. These operations are accessed through + * independent add or lookup operations from device code. These operations are accessed through * non-owning, trivially copyable reference types (or "ref"). * * @note `Block` is used **only** to determine `block_words` via `cuda::std::tuple_size` and @@ -175,7 +175,7 @@ class bloom_filter { * @brief Adds keys in the range `[first, last)` if `pred` of the corresponding `stencil` returns * `true`. * - * @note The key `*(first + i)` is inserted if `pred( *(stencil + i) )` returns `true`. + * @note The key `*(first + i)` is added if `pred( *(stencil + i) )` returns `true`. * @note This function synchronizes the given stream and returns the number of successful * insertions. For asynchronous execution use `add_if_async`. * @@ -202,7 +202,7 @@ class bloom_filter { * @brief Asynchronously adds keys in the range `[first, last)` if `pred` of the corresponding * `stencil` returns `true`. * - * @note The key `*(first + i)` is inserted if `pred( *(stencil + i) )` returns `true`. + * @note The key `*(first + i)` is added if `pred( *(stencil + i) )` returns `true`. * * @tparam InputIt Device-accessible random access input iterator where * std::is_convertible::value_type, diff --git a/include/cuco/bloom_filter_ref.cuh b/include/cuco/bloom_filter_ref.cuh index 5d17f8bff..1a8841ce9 100644 --- a/include/cuco/bloom_filter_ref.cuh +++ b/include/cuco/bloom_filter_ref.cuh @@ -160,7 +160,7 @@ class bloom_filter_ref { * @brief Adds keys in the range `[first, last)` if `pred` of the corresponding `stencil` returns * `true`. * - * @note The key `*(first + i)` is inserted if `pred( *(stencil + i) )` returns `true`. + * @note The key `*(first + i)` is added if `pred( *(stencil + i) )` returns `true`. * @note This function synchronizes the given stream and returns the number of successful * insertions. For asynchronous execution use `add_if_async`. * @@ -187,7 +187,7 @@ class bloom_filter_ref { * @brief Asynchronously adds keys in the range `[first, last)` if `pred` of the corresponding * `stencil` returns `true`. * - * @note The key `*(first + i)` is inserted if `pred( *(stencil + i) )` returns `true`. + * @note The key `*(first + i)` is added if `pred( *(stencil + i) )` returns `true`. * * @tparam InputIt Device-accessible random access input iterator where * std::is_convertible::value_type,