cub::BatchedCopySmallBufferPolicy#

struct BatchedCopySmallBufferPolicy#

The small buffer sub-policy for BatchedCopyLookbackPolicy.

Public Functions

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

Public Members

int threads_per_block#

Number of threads in a CUDA block.

int buffers_per_thread#

Number of buffers processed per thread.

int bytes_per_thread#

The number of bytes that each thread will work on with each iteration of reading in bytes from one or more source-buffers and writing them out to the respective destination-buffers.

bool prefer_pow2_bits#

Whether the bit_packed_counter should prefer allocating a power-of-2 number of bits per counter.

int block_level_tile_size#

Tile size granularity for block-level buffers.

int warp_level_threshold#

Buffer size threshold above which warp-level collaboration is used.

int block_level_threshold#

Buffer size threshold above which block-level collaboration is used.

LookbackDelayPolicy buffer_lookback_delay#

The LookbackDelayPolicy for the buffer offset scan.

LookbackDelayPolicy block_lookback_delay#

The LookbackDelayPolicy for the block offset scan.

Friends

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