cub::Sum

Defined in /home/runner/work/cccl/cccl/cub/cub/thread/thread_operators.cuh

struct Sum

Default sum functor.

Public Functions

template<typename T, typename U>
inline auto operator()(T &&t, U &&u) const -> decltype(::cuda::std::forward<T>(t) + ::cuda::std::forward<U>(u))

Binary sum operator, returns t + u