cub::MergePolicy#

struct MergePolicy#

The tuning policy for all algorithms in DeviceMerge.

Public Functions

inline friend ::std::ostream &operator<<(
::std::ostream &os,
const MergePolicy &p
)#

Public Members

int threads_per_block#

Number of threads in a CUDA block.

int items_per_thread#

Number of items processed per thread.

CacheLoadModifier load_modifier#

The CacheLoadModifier used for loading items from global memory.

BlockStoreAlgorithm store_algorithm#

The BlockStoreAlgorithm used for storing items to global memory.

bool use_bulk_copy_for_keys#

Whether to use bulk copy (cp.async.bulk) for loading keys into shared memory.

bool use_bulk_copy_for_values#

Whether to use bulk copy (cp.async.bulk) for loading values into shared memory.

bool unroll = true#

Friends

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