Skip to content

Commit a67360d

Browse files
authored
documents to use unsigned offset types in scan's dispatch (#3111)
1 parent 9e65054 commit a67360d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cub/cub/device/dispatch/dispatch_scan.cuh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ DeviceCompactInitKernel(ScanTileStateT tile_state, int num_tiles, NumSelectedIte
143143
* (cub::NullType for inclusive scans)
144144
*
145145
* @tparam OffsetT
146-
* Signed integer type for global offsets
146+
* Unsigned integer type for global offsets
147147
*
148148
* @paramInput d_in
149149
* data
@@ -223,7 +223,7 @@ __launch_bounds__(int(ChainedPolicyT::ActivePolicy::ScanPolicyT::BLOCK_THREADS))
223223
* The init_value element type for ScanOpT (cub::NullType for inclusive scans)
224224
*
225225
* @tparam OffsetT
226-
* Signed integer type for global offsets
226+
* Unsigned integer type for global offsets
227227
*
228228
* @tparam ForceInclusive
229229
* Boolean flag to force InclusiveScan invocation when true.

cub/cub/device/dispatch/dispatch_scan_by_key.cuh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ CUB_NAMESPACE_BEGIN
9292
* The init_value element for ScanOpT type (cub::NullType for inclusive scan)
9393
*
9494
* @tparam OffsetT
95-
* Signed integer type for global offsets
95+
* Unsigned integer type for global offsets
9696
*
9797
* @param d_keys_in
9898
* Input keys data
@@ -217,7 +217,7 @@ CUB_DETAIL_KERNEL_ATTRIBUTES void DeviceScanByKeyInitKernel(
217217
* The init_value element for ScanOpT type (cub::NullType for inclusive scan)
218218
*
219219
* @tparam OffsetT
220-
* Signed integer type for global offsets
220+
* Unsigned integer type for global offsets
221221
*
222222
*/
223223
template <

0 commit comments

Comments
 (0)