Skip to content

Commit 80246bf

Browse files
authored
Drop shadowing redeclaration of constants (#6479)
1 parent bd67dae commit 80246bf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cub/cub/warp/specializations/warp_reduce_smem.cuh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,6 @@ struct WarpReduceSmem
263263
_CCCL_DEVICE _CCCL_FORCEINLINE T
264264
SegmentedReduce(T input, FlagT flag, ReductionOp reduction_op, ::cuda::std::false_type /*has_ballot*/)
265265
{
266-
enum
267-
{
268-
UNSET = 0x0, // Is initially unset
269-
SET = 0x1, // Is initially set
270-
SEEN = 0x2, // Has seen another head flag from a successor peer
271-
};
272-
273266
// Alias flags onto shared data storage
274267
SmemFlag* flag_storage = temp_storage.flags;
275268

0 commit comments

Comments
 (0)