Narray Topology. More...
Classes | |
struct | access |
Topology interface base. More... | |
struct | ragged_impl |
Ragged communication routines. More... | |
Private Member Functions | |
template<index_space S> | |
data::copy_plan | make_copy_plan (Color colors, index_definition const &idef) |
Method to create copy plans for entities of an index-space. | |
Static Private Member Functions | |
static void | idx_itvls (index_definition const &idef, std::vector< std::size_t > &num_intervals, std::vector< typename meta_data::intervals > &intervals, std::vector< typename meta_data::points > &points, MPI_Comm const &comm) |
Method to compute the local ghost "intervals" and "points" which store map of local ghost offset to remote/shared offset. | |
Additional Inherited Members | |
![]() | |
using | axis |
The type describing one axis in a task. | |
using | axis_color |
The type describing the usage of one axis in a task. | |
using | axis_definition |
The type for specifying an axis for a coloring. | |
using | axis_info |
The type describing an axis in a task. | |
using | axis_layout |
The type describing index points on one axis in a task. | |
enum class | domain : std::size_t { logical , extended , all , boundary_low , boundary_high , ghost_low , ghost_high , global } |
This domain enumeration provides a classification of the various types of partition entities that can be requested out of a topology specialization created using this type. More... | |
using | index_definition |
The type for specifying an index space for a coloring. | |
![]() | |
static colors | distribute (Color np, gcoord indices) |
Create an axial color distribution for the given number of processes. | |
static std::vector< axis_definition > | make_axes (Color num_colors, const gcoord &indices) |
Choose a breakdown of colors per axis and construct axis definitions. | |
static std::vector< axis_definition > | make_axes (const colors &color_dist, const gcoord &indices) |
Create a vector of axis definitions with default settings (hdepth=0, bdepth=0, periodic=false, etc) for the given extents and number of colors. | |
Narray Topology.
Colors are assigned lexicographically; the first dimension varies fastest.
Policy | the specialization, following narray_specialization. |
|
staticprivate |
Method to compute the local ghost "intervals" and "points" which store map of local ghost offset to remote/shared offset.
This method is called by the "make_copy_plan" method in the derived topology to create the copy plan objects.
idef | index definition | |
[out] | num_intervals | vector of number of ghost intervals, over all colors, this vector is assumed to be sized correctly (all colors) |
[out] | intervals | vector of local ghost intervals, over process colors |
[out] | points | vector of maps storing (local ghost offset, remote shared offset) for a shared color, over process colors |
|
private |
Method to create copy plans for entities of an index-space.
colors | The number of colors |
idef | index definition |