cub/grid/grid_even_share.cuh
In directory: cub/grid
Source file: cub/grid/grid_even_share.cuh
cub::GridEvenShare is a descriptor utility for distributing input among CUDA thread blocks in an “even-share” fashion. Each thread block gets roughly the same number of fixed-size work units (grains).