Skip to content

Commit

Permalink
Suppress unused variable warning for nvcc 11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Feb 5, 2025
1 parent 3ac06ad commit 14a670a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/cub/device/dispatch/dispatch_reduce.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ struct DispatchSegmentedReduce

// Init kernel configuration
detail::KernelConfig segmented_reduce_config;
(void) segmented_reduce_config;
(void) &segmented_reduce_config;
error =
CubDebug(segmented_reduce_config.Init<typename ActivePolicyT::SegmentedReducePolicy>(segmented_reduce_kernel));
if (cudaSuccess != error)
Expand Down

0 comments on commit 14a670a

Please sign in to comment.