Potential processor ranges.
#include <bf/csol_bf_potential.h>
Creates set of sizes of all multigrid levels and layers from an initial two-dimensional grid size. The ranges created are:
- N_levels: number of multigrid levels
- N_2D: the 2D staggered grid dimensions, equal to the tile size plus one, plus two padding cells
- local_size_2D: the 2D staggered local size, equal to tile size x 1
- global_size_1D: the 1D staggered global size, equal to tile size
- global_size_2D: the 2D staggered global size, equal to tile size x tile size plus one
- global_size_base_2D: the 2D tile global size, equal to tile size x tile size
- Parameters
-
levels | the number of nested multigrid levels. |
tileSize | the x and y size at the highest level. |
localSize | OpenCL workgroup size. |
std::vector<cl::NDRange> global_size_1D |
std::vector<cl::NDRange> global_size_2D |
std::vector<cl::NDRange> global_size_base_2D |
std::vector<cl::NDRange> local_size_2D |