Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Use data type OffsetT for DispatchRadixSort correctly in InitPassConf…
Browse files Browse the repository at this point in the history
…ig. This allows to use radix sort on problem sizes which cannot be represented by int
  • Loading branch information
fkallen committed Jan 20, 2021
1 parent c3be9a9 commit 767dadb
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 @@ -1209,7 +1209,7 @@ struct DispatchRadixSort :
DownsweepKernelT downsweep_kernel,
int ptx_version,
int sm_count,
int num_items)
OffsetT num_items)
{
cudaError error = cudaSuccess;
do
Expand Down

0 comments on commit 767dadb

Please sign in to comment.