From 14a670a635e3b59092479d163b3863fa9d6e0d2b Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Wed, 5 Feb 2025 12:53:58 +0100 Subject: [PATCH] Suppress unused variable warning for nvcc 11.1 --- cub/cub/device/dispatch/dispatch_reduce.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cub/cub/device/dispatch/dispatch_reduce.cuh b/cub/cub/device/dispatch/dispatch_reduce.cuh index 909ad4f5999..aa20fd238e7 100644 --- a/cub/cub/device/dispatch/dispatch_reduce.cuh +++ b/cub/cub/device/dispatch/dispatch_reduce.cuh @@ -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(segmented_reduce_kernel)); if (cudaSuccess != error)