cub::SegmentedScanBlockPolicy#

struct SegmentedScanBlockPolicy#

The policy for block-level kernels in DeviceSegmentedScan.

Public Functions

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

Public Members

int threads_per_block#

Number of threads in a CUDA block.

int items_per_thread#

Number of items processed per thread.

BlockLoadAlgorithm load_algorithm#

The BlockLoadAlgorithm used for loading items from global memory.

CacheLoadModifier load_modifier#

The CacheLoadModifier used for loading items from global memory.

BlockStoreAlgorithm store_algorithm#

The BlockStoreAlgorithm used for storing items to global memory.

BlockScanAlgorithm scan_algorithm#

The BlockScanAlgorithm used for block scanning.

int max_segments#

Maximum number of segments processed per block.

Friends

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