Skip to content

Commit f578ea9

Browse files
Drop CUB_MIN|MAX (#3998)
1 parent 6289457 commit f578ea9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cub/cub/agent/agent_radix_sort_histogram.cuh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,7 @@ struct AgentRadixSortHistogram
208208
#pragma unroll
209209
for (int current_bit = begin_bit, pass = 0; current_bit < end_bit; current_bit += RADIX_BITS, ++pass)
210210
{
211-
// FIXME(bgruber): the following replacement changes SASS for cub.test.device_radix_sort_pairs.lid_0
212-
// const int num_bits = _CUDA_VSTD::min(+RADIX_BITS, end_bit - current_bit);
213-
const int num_bits = CUB_MIN(+RADIX_BITS, end_bit - current_bit);
211+
const int num_bits = _CUDA_VSTD::min(+RADIX_BITS, end_bit - current_bit);
214212
#pragma unroll
215213
for (int u = 0; u < ITEMS_PER_THREAD; ++u)
216214
{

0 commit comments

Comments
 (0)