cub::ForPolicy#

struct ForPolicy#

The tuning policy for all algorithms in DeviceFor.

Public Functions

inline friend ::std::ostream &operator<<(
::std::ostream &os,
const ForPolicy &policy
)#

Public Members

int threads_per_block#

Number of threads in a CUDA block.

If smaller than 1, this number will be determined at runtime based on the maximum occupancy of the kernel.

int items_per_thread#

Number of items processed per thread.

Friends

inline friend constexpr bool operator==(
const ForPolicy &lhs,
const ForPolicy &rhs
) noexcept#
inline friend constexpr bool operator!=(
const ForPolicy &lhs,
const ForPolicy &rhs
) noexcept#