Skip to content

Commit

Permalink
Update radix.cl
Browse files Browse the repository at this point in the history
  • Loading branch information
Smart781 authored Nov 11, 2024
1 parent 57d4e84 commit e291c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cl/radix.cl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ __kernel void radix_sort(__global unsigned int *as, __global unsigned int *bs, _
unsigned int lidx;

if (ind > 0 && ind < n) {
lidx = counters[index - 1];
lidx = counters[ind - 1];
} else {
lidx = 0;
}
Expand Down

0 comments on commit e291c40

Please sign in to comment.