diff --git a/cub/cub/device/dispatch/kernels/kernel_scan_lookahead.cuh b/cub/cub/device/dispatch/kernels/kernel_scan_lookahead.cuh index ed1d6d100f5..f364aff0ff0 100644 --- a/cub/cub/device/dispatch/kernels/kernel_scan_lookahead.cuh +++ b/cub/cub/device/dispatch/kernels/kernel_scan_lookahead.cuh @@ -283,7 +283,7 @@ struct lookahead_scan_closure const scanKernelParams params; mutable ScanOpT scan_op; // mutable, so we can support non-const operator() const RealInitValueT real_init_value; - scan_resources_t& res; // this is the only shared mutable state + scan_resources_t res; // this is the only shared mutable state _CCCL_DEVICE_API _CCCL_FORCEINLINE void load_next_tile_index(const warpspeed::Squad& squad, warpspeed::SmemPhase& phaseNextBlockIdxW) const