/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.5.1/hipcub/include/hipcub/backend/rocprim/grid/grid_even_share.hpp Source File#
grid_even_share.hpp
GridMappingStrategy
cub::GridMappingStrategy enumerates alternative strategies for mapping constant-sized tiles of device...
Definition: grid_mapping.hpp:55
GridEvenShare is a descriptor utility for distributing input among CUDA thread blocks in an "even-sha...
Definition: grid_even_share.hpp:68
OffsetT block_stride
Stride between input tiles.
Definition: grid_even_share.hpp:92
__host__ __device__ __forceinline__ GridEvenShare()
Constructor.
Definition: grid_even_share.hpp:98
__device__ __forceinline__ void BlockInit(OffsetT block_offset, OffsetT block_end)
Block-initialization, specialized for a "raking" access pattern in which each thread block is assigne...
Definition: grid_even_share.hpp:197
__host__ __device__ __forceinline__ void DispatchInit(OffsetT num_items_, int max_grid_size, int tile_items)
Dispatch initializer. To be called prior to kernel launch.
Definition: grid_even_share.hpp:115
OffsetT block_end
OffsetT into input of marking the end (one-past) of the owning thread block's segment of input tiles.
Definition: grid_even_share.hpp:89
__device__ __forceinline__ void BlockInit(int block_id, Int2Type< GRID_MAPPING_RAKE >)
Initializes ranges for the specified thread block index. Specialized for a "raking" access pattern in...
Definition: grid_even_share.hpp:140
__device__ __forceinline__ void BlockInit(int block_id, Int2Type< GRID_MAPPING_STRIP_MINE >)
Block-initialization, specialized for a "raking" access pattern in which each thread block is assigne...
Definition: grid_even_share.hpp:167
OffsetT block_offset
OffsetT into input marking the beginning of the owning thread block's segment of input tiles.
Definition: grid_even_share.hpp:86
int grid_size
Grid size in thread blocks.
Definition: grid_even_share.hpp:83
__device__ __forceinline__ void BlockInit()
Block-initialization, specialized for "strip mining" access pattern in which the input tiles assigned...
Definition: grid_even_share.hpp:185
OffsetT num_items
Total number of input items.
Definition: grid_even_share.hpp:80
Definition: util_type.hpp:144