@@ -50,12 +50,12 @@ namespace cuco {
50
50
*
51
51
* The host-side bulk operations include `insert`, `contains`, etc. These APIs should be used when
52
52
* there are a large number of keys to modify or lookup. For example, given a range of keys
53
- * specified by device-accessible iterators, the bulk `insert` function will insert all keys into
53
+ * specified by device-accessible iterators, the bulk `insert` function inserts all keys into
54
54
* the map.
55
55
*
56
56
* The singular device-side operations allow individual threads (or cooperative groups) to perform
57
57
* independent modify or lookup operations from device code. These operations are accessed through
58
- * non-owning, trivially copyable reference types (or "ref"). User can combine any arbitrary
58
+ * non-owning, trivially copyable reference types (or "ref"). Users can combine any arbitrary
59
59
* operators (see options in `include/cuco/operator.hpp`) when creating the ref. Concurrent modify
60
60
* and lookup will be supported if both kinds of operators are specified during the ref
61
61
* construction.
@@ -799,8 +799,8 @@ class static_map {
799
799
* query key.
800
800
*
801
801
* @note If `pred( *(stencil + i) )` is true, stores the payload of the
802
- * matched key or the `empty_value_sentienl ` to `(output_begin + i)`. If `pred( *(stencil + i) )`
803
- * is false, always stores the `empty_value_sentienl ` to `(output_begin + i)`.
802
+ * matched key or the `empty_value_sentinel ` to `(output_begin + i)`. If `pred( *(stencil + i) )`
803
+ * is false, always stores the `empty_value_sentinel ` to `(output_begin + i)`.
804
804
* @note This function synchronizes the given stream. For asynchronous execution use
805
805
* `find_if_async`.
806
806
*
@@ -832,8 +832,8 @@ class static_map {
832
832
* a match with its key equivalent to the query key.
833
833
*
834
834
* @note If `pred( *(stencil + i) )` is true, stores the payload of the
835
- * matched key or the `empty_value_sentienl ` to `(output_begin + i)`. If `pred( *(stencil + i) )`
836
- * is false, always stores the `empty_value_sentienl ` to `(output_begin + i)`.
835
+ * matched key or the `empty_value_sentinel ` to `(output_begin + i)`. If `pred( *(stencil + i) )`
836
+ * is false, always stores the `empty_value_sentinel ` to `(output_begin + i)`.
837
837
*
838
838
* @tparam InputIt Device accessible input iterator
839
839
* @tparam StencilIt Device accessible random access iterator whose `value_type` is convertible to
@@ -863,8 +863,8 @@ class static_map {
863
863
* a match with its key equivalent to the query key.
864
864
*
865
865
* @note If `pred( *(stencil + i) )` is true, stores the payload of the
866
- * matched key or the `empty_value_sentienl ` to `(output_begin + i)`. If `pred( *(stencil + i) )`
867
- * is false, always stores the `empty_value_sentienl ` to `(output_begin + i)`.
866
+ * matched key or the `empty_value_sentinel ` to `(output_begin + i)`. If `pred( *(stencil + i) )`
867
+ * is false, always stores the `empty_value_sentinel ` to `(output_begin + i)`.
868
868
*
869
869
* @tparam InputIt Device accessible input iterator
870
870
* @tparam StencilIt Device accessible random access iterator whose `value_type` is convertible to
@@ -1029,7 +1029,7 @@ class static_map {
1029
1029
*
1030
1030
* @tparam KeyOut Device accessible random access output iterator whose `value_type` is
1031
1031
* convertible from `key_type`.
1032
- * @tparam ValueOut Device accesible random access output iterator whose `value_type` is
1032
+ * @tparam ValueOut Device accessible random access output iterator whose `value_type` is
1033
1033
* convertible from `mapped_type`.
1034
1034
*
1035
1035
* @param keys_out Beginning output iterator for keys
@@ -1066,7 +1066,7 @@ class static_map {
1066
1066
* @note Behavior is undefined if the desired `capacity` is insufficient to store all of the
1067
1067
* contained elements.
1068
1068
*
1069
- * @note This function is not available if the conatiner 's `extent_type` is static.
1069
+ * @note This function is not available if the container 's `extent_type` is static.
1070
1070
*
1071
1071
* @param capacity New capacity of the container
1072
1072
* @param stream CUDA stream used for this operation
@@ -1091,7 +1091,7 @@ class static_map {
1091
1091
* @note Behavior is undefined if the desired `capacity` is insufficient to store all of the
1092
1092
* contained elements.
1093
1093
*
1094
- * @note This function is not available if the conatiner 's `extent_type` is static.
1094
+ * @note This function is not available if the container 's `extent_type` is static.
1095
1095
*
1096
1096
* @param capacity New capacity of the container
1097
1097
* @param stream CUDA stream used for this operation
@@ -1512,7 +1512,7 @@ class static_map {
1512
1512
*
1513
1513
* @tparam KeyOut Device accessible random access output iterator whose `value_type` is
1514
1514
* convertible from `key_type`.
1515
- * @tparam ValueOut Device accesible random access output iterator whose `value_type` is
1515
+ * @tparam ValueOut Device accessible random access output iterator whose `value_type` is
1516
1516
* convertible from `mapped_type`.
1517
1517
* @param keys_out Beginning output iterator for keys
1518
1518
* @param values_out Beginning output iterator for values
@@ -2280,7 +2280,7 @@ class static_map {
2280
2280
* @endcode
2281
2281
*
2282
2282
* @tparam CG The type of the cooperative thread group
2283
- * @param g The ooperative thread group used to copy the slots
2283
+ * @param g The cooperative thread group used to copy the slots
2284
2284
* @param source_device_view `device_view` to copy from
2285
2285
* @param memory_to_use Array large enough to support `capacity` elements. Object does not take
2286
2286
* the ownership of the memory
0 commit comments