Skip to content

Commit

Permalink
Fix ProbeKey description in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Aug 9, 2024
1 parent 115656e commit 60195fc
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
14 changes: 7 additions & 7 deletions include/cuco/detail/open_addressing/open_addressing_ref_impl.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ class open_addressing_ref_impl {
* @note If the probe key `key` was inserted into the container, returns true. Otherwise, returns
* false.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand Down Expand Up @@ -776,7 +776,7 @@ class open_addressing_ref_impl {
* @note If the probe key `key` was inserted into the container, returns true. Otherwise, returns
* false.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform group contains
* @param key The key to search for
Expand Down Expand Up @@ -884,7 +884,7 @@ class open_addressing_ref_impl {
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand Down Expand Up @@ -922,7 +922,7 @@ class open_addressing_ref_impl {
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform this operation
* @param key The key to search for
Expand Down Expand Up @@ -972,7 +972,7 @@ class open_addressing_ref_impl {
* @note Passes an un-incrementable input iterator to the element whose key is equivalent to
* `key` to the callback.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
* @tparam CallbackOp Unary callback functor or device lambda
*
* @param key The key to search for
Expand Down Expand Up @@ -1018,7 +1018,7 @@ class open_addressing_ref_impl {
*
* @note Synchronizing `group` within `callback_op` is undefined behavior.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
* @tparam CallbackOp Unary callback functor or device lambda
*
* @param group The Cooperative Group used to perform this operation
Expand Down Expand Up @@ -1078,7 +1078,7 @@ class open_addressing_ref_impl {
* synchronization points is capped by `window_size * cg_size`. The functor will be called right
* after the current probing window has been traversed.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
* @tparam CallbackOp Unary callback functor or device lambda
* @tparam SyncOp Functor or device lambda which accepts the current `group` object
*
Expand Down
8 changes: 4 additions & 4 deletions include/cuco/detail/static_map/static_map_ref.inl
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ class operator_impl<
* @note If the probe key `key` was inserted into the container, returns
* true. Otherwise, returns false.
*
* @tparam ProbeKey Input key type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand All @@ -1170,7 +1170,7 @@ class operator_impl<
* @note If the probe key `key` was inserted into the container, returns
* true. Otherwise, returns false.
*
* @tparam ProbeKey Input key type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform group contains
* @param key The key to search for
Expand Down Expand Up @@ -1213,7 +1213,7 @@ class operator_impl<
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input key type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand All @@ -1233,7 +1233,7 @@ class operator_impl<
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input key type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform this operation
* @param key The key to search for
Expand Down
4 changes: 2 additions & 2 deletions include/cuco/detail/static_multimap/static_multimap_ref.inl
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ class operator_impl<
* @note If the probe key `key` was inserted into the container, returns
* true. Otherwise, returns false.
*
* @tparam ProbeKey Input key type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand All @@ -451,7 +451,7 @@ class operator_impl<
* @note If the probe key `key` was inserted into the container, returns
* true. Otherwise, returns false.
*
* @tparam ProbeKey Input key type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform group contains
* @param key The key to search for
Expand Down
16 changes: 8 additions & 8 deletions include/cuco/detail/static_multiset/static_multiset_ref.inl
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class operator_impl<
/**
* @brief Indicates whether the probe key `key` was inserted into the container.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand All @@ -396,7 +396,7 @@ class operator_impl<
/**
* @brief Indicates whether the probe key `key` was inserted into the container.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform group contains
* @param key The key to search for
Expand Down Expand Up @@ -439,7 +439,7 @@ class operator_impl<
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand All @@ -459,7 +459,7 @@ class operator_impl<
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform this operation
* @param key The key to search for
Expand Down Expand Up @@ -498,7 +498,7 @@ class operator_impl<
* @note Passes an un-incrementable input iterator to the element whose key is equivalent to
* `key` to the callback.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
* @tparam CallbackOp Unary callback functor or device lambda
*
* @param key The key to search for
Expand All @@ -525,7 +525,7 @@ class operator_impl<
*
* @note Synchronizing `group` within `callback_op` is undefined behavior.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
* @tparam CallbackOp Unary callback functor or device lambda
*
* @param group The Cooperative Group used to perform this operation
Expand Down Expand Up @@ -561,7 +561,7 @@ class operator_impl<
* synchronization points is capped by `window_size * cg_size`. The functor will be called right
* after the current probing window has been traversed.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
* @tparam CallbackOp Unary callback functor or device lambda
* @tparam SyncOp Functor or device lambda which accepts the current `group` object
*
Expand Down Expand Up @@ -606,7 +606,7 @@ class operator_impl<
/**
* @brief Counts the occurrence of a given key contained in multiset
*
* @tparam ProbeKey Input type
* @tparam ProbeKey Probe key type
*
* @param key The key to count for
*
Expand Down
8 changes: 4 additions & 4 deletions include/cuco/detail/static_set/static_set_ref.inl
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ class operator_impl<op::contains_tag,
* @note If the probe key `key` was inserted into the container, returns true. Otherwise, returns
* false.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand All @@ -548,7 +548,7 @@ class operator_impl<op::contains_tag,
* @note If the probe key `key` was inserted into the container, returns true. Otherwise, returns
* false.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform group contains
* @param key The key to search for
Expand Down Expand Up @@ -589,7 +589,7 @@ class operator_impl<op::find_tag,
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param key The key to search for
*
Expand All @@ -609,7 +609,7 @@ class operator_impl<op::find_tag,
* @note Returns a un-incrementable input iterator to the element whose key is equivalent to
* `key`. If no such element exists, returns `end()`.
*
* @tparam ProbeKey Input type which is convertible to 'key_type'
* @tparam ProbeKey Probe key type
*
* @param group The Cooperative Group used to perform this operation
* @param key The key to search for
Expand Down

0 comments on commit 60195fc

Please sign in to comment.