Skip to content

Commit

Permalink
Enable onesweep for I8/I16
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed May 7, 2023
1 parent f4b02e8 commit d18fa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/device/dispatch/dispatch_radix_sort.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ struct DeviceRadixSortPolicy
PRIMARY_RADIX_BITS = (sizeof(KeyT) > 1) ? 7 : 5,
SINGLE_TILE_RADIX_BITS = (sizeof(KeyT) > 1) ? 6 : 5,
SEGMENTED_RADIX_BITS = (sizeof(KeyT) > 1) ? 6 : 5,
ONESWEEP = sizeof(KeyT) >= sizeof(uint32_t),
ONESWEEP = true,
ONESWEEP_RADIX_BITS = 8,
OFFSET_64BIT = sizeof(OffsetT) == 8 ? 1 : 0,
FLOAT_KEYS = std::is_same<KeyT, float>::value ? 1 : 0,
Expand Down

0 comments on commit d18fa6a

Please sign in to comment.