Skip to content

Commit

Permalink
Fix more typos uncovered by ChatGPT
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Sep 5, 2023
1 parent 6ddb411 commit 27ed729
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions include/cuco/static_map.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ namespace experimental {
* construction.
*
* @note Allows constant time concurrent modify or lookup operations from threads in device code.
* @note cuCollections data stuctures always place the slot keys on the left-hand side when invoking
* the key comparison predicate, i.e., `pred(slot_key, query_key)`. Order-sensitive `KeyEqual`
* should be used with caution.
* @note cuCollections data structures always place the slot keys on the left-hand side when
* invoking the key comparison predicate, i.e., `pred(slot_key, query_key)`. Order-sensitive
* `KeyEqual` should be used with caution.
* @note `ProbingScheme::cg_size` indicates how many threads are used to handle one independent
* device operation. `cg_size == 1` uses the scalar (or non-CG) code paths.
*
Expand Down Expand Up @@ -452,7 +452,7 @@ class static_map {
void find(InputIt first, InputIt last, OutputIt output_begin, cuda_stream_ref stream = {}) const;

/**
* @brief For all keys in the range `[first, last)`, asynchonously finds a payload with its key
* @brief For all keys in the range `[first, last)`, asynchronously finds a payload with its key
* equivalent to the query key.
*
* @note If the key `*(first + i)` has a matched `element` in the map, copies the payload of
Expand Down
2 changes: 1 addition & 1 deletion include/cuco/static_map_ref.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace experimental {
*
* @note Concurrent modify and lookup will be supported if both kinds of operators are specified
* during the ref construction.
* @note cuCollections data stuctures always place the slot keys on the left-hand
* @note cuCollections data structures always place the slot keys on the left-hand
* side when invoking the key comparison predicate.
* @note Ref types are trivially-copyable and are intended to be passed by value.
* @note `ProbingScheme::cg_size` indicates how many threads are used to handle one independent
Expand Down
8 changes: 4 additions & 4 deletions include/cuco/static_set.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ namespace experimental {
* construction.
*
* @note Allows constant time concurrent modify or lookup operations from threads in device code.
* @note cuCollections data stuctures always place the slot keys on the left-hand side when invoking
* the key comparison predicate, i.e., `pred(slot_key, query_key)`. Order-sensitive `KeyEqual`
* should be used with caution.
* @note cuCollections data structures always place the slot keys on the left-hand side when
* invoking the key comparison predicate, i.e., `pred(slot_key, query_key)`. Order-sensitive
* `KeyEqual` should be used with caution.
* @note `ProbingScheme::cg_size` indicates how many threads are used to handle one independent
* device operation. `cg_size == 1` uses the scalar (or non-CG) code paths.
*
Expand Down Expand Up @@ -384,7 +384,7 @@ class static_set {
void find(InputIt first, InputIt last, OutputIt output_begin, cuda_stream_ref stream = {}) const;

/**
* @brief For all keys in the range `[first, last)`, asynchonously finds an element with key
* @brief For all keys in the range `[first, last)`, asynchronously finds an element with key
* equivalent to the query key.
*
* @note If the key `*(first + i)` has a matched `element` in the set, copies `element` to
Expand Down
2 changes: 1 addition & 1 deletion include/cuco/static_set_ref.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace experimental {
*
* @note Concurrent modify and lookup will be supported if both kinds of operators are specified
* during the ref construction.
* @note cuCollections data stuctures always place the slot keys on the left-hand
* @note cuCollections data structures always place the slot keys on the left-hand
* side when invoking the key comparison predicate.
* @note Ref types are trivially-copyable and are intended to be passed by value.
* @note `ProbingScheme::cg_size` indicates how many threads are used to handle one independent
Expand Down

0 comments on commit 27ed729

Please sign in to comment.