From 2cfe95ba984d47e363fc9dd68b1504a0c19e60e4 Mon Sep 17 00:00:00 2001 From: David Bayer <48736217+davebayer@users.noreply.github.com> Date: Fri, 29 May 2026 12:46:44 +0200 Subject: [PATCH] [cub] Fix warp reduce of fixed size random access range (#9153) (cherry picked from commit ca4c5a6ca4e42abf13e8c7b003d8fbe2e8e1459a) --- cub/cub/warp/warp_reduce.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cub/cub/warp/warp_reduce.cuh b/cub/cub/warp/warp_reduce.cuh index b1d6c04c3ca..77c0005e5cc 100644 --- a/cub/cub/warp/warp_reduce.cuh +++ b/cub/cub/warp/warp_reduce.cuh @@ -504,7 +504,7 @@ public: [[nodiscard]] _CCCL_DEVICE _CCCL_FORCEINLINE T Reduce(const InputType& input, ReductionOp reduction_op) { auto thread_reduction = cub::ThreadReduce(input, reduction_op); - return WarpReduce::Reduce(thread_reduction, LogicalWarpThreads, reduction_op); + return WarpReduce::Reduce(thread_reduction, reduction_op); } //! @rst //! Computes a partially-full warp-wide reduction in the calling warp using the specified binary