|
Yet Another eXchange Tool
0.9.0
|
#include <assert.h>#include <limits.h>#include <stdlib.h>#include <mpi.h>#include "core/core.h"#include "core/ppm_xfuncs.h"#include "xt/xt_mpi.h"#include "xt_mpi_internal.h"#include "xt/xt_redist_repeat.h"#include "xt/xt_redist_single_array_base.h"#include "ensure_array_size.h"#include "xt/xt_redist.h"#include "xt_redist_internal.h"#include "xt_config_internal.h"Go to the source code of this file.
Functions | |
| static void | generate_msg_infos (struct Xt_redist_msg **msgs, int *nmsgs, MPI_Aint extent, const int *displacements, Xt_redist redist, int num_repetitions, MPI_Comm comm, enum xt_msg_direction direction) |
| Xt_redist | xt_redist_repeat_asym_new (Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int src_displacements[num_repetitions], const int dst_displacements[num_repetitions]) |
| Xt_redist | xt_redist_repeat_asym_custom_new (Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int src_displacements[num_repetitions], const int dst_displacements[num_repetitions], Xt_config config) |
| Xt_redist | xt_redist_repeat_new (Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int displacements[num_repetitions]) |
| Xt_redist | xt_redist_repeat_custom_new (Xt_redist redist, MPI_Aint src_extent, MPI_Aint dst_extent, int num_repetitions, const int displacements[num_repetitions], Xt_config config) |
Definition in file xt_redist_repeat.c.
|
static |
Definition at line 68 of file xt_redist_repeat.c.
| Xt_redist xt_redist_repeat_asym_custom_new | ( | Xt_redist | redist, |
| MPI_Aint | src_extent, | ||
| MPI_Aint | dst_extent, | ||
| int | num_repetitions, | ||
| const int | src_displacements[num_repetitions], | ||
| const int | dst_displacements[num_repetitions], | ||
| Xt_config | config | ||
| ) |
constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution. Uses custom settings.
| [in] | redist | redistribution |
| [in] | src_extent | extent that scales the given displacements for the source data |
| [in] | dst_extent | extent that scales the given displacements for the destination data |
| [in] | num_repetitions | number of repetitions of the given redistribution |
| [in] | src_displacements | displacements for source repetitions |
| [in] | dst_displacements | displacements for destination repetitions |
| [in] | config | configuration object for custom settings |
Definition at line 115 of file xt_redist_repeat.c.
| Xt_redist xt_redist_repeat_asym_new | ( | Xt_redist | redist, |
| MPI_Aint | src_extent, | ||
| MPI_Aint | dst_extent, | ||
| int | num_repetitions, | ||
| const int | src_displacements[num_repetitions], | ||
| const int | dst_displacements[num_repetitions] | ||
| ) |
constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution. Uses default settings.
| [in] | redist | redistribution |
| [in] | src_extent | extent that scales the given displacements for the source data |
| [in] | dst_extent | extent that scales the given displacements for the destination data |
| [in] | num_repetitions | number of repetitions of the given redistribution |
| [in] | src_displacements | displacements for source repetitions |
| [in] | dst_displacements | displacements for destination repetitions |
Definition at line 104 of file xt_redist_repeat.c.
| Xt_redist xt_redist_repeat_custom_new | ( | Xt_redist | redist, |
| MPI_Aint | src_extent, | ||
| MPI_Aint | dst_extent, | ||
| int | num_repetitions, | ||
| const int | displacements[num_repetitions], | ||
| Xt_config | config | ||
| ) |
constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution with custom settings
| [in] | redist | redistribution |
| [in] | src_extent | extent that scales the given displacements for the source data |
| [in] | dst_extent | extent that scales the given displacements for the destination data |
| [in] | num_repetitions | number of repetitions of the given redistribution |
| [in] | displacements | displacements for repetitions |
| [in] | config | configuration object for custom settings |
Definition at line 157 of file xt_redist_repeat.c.
| Xt_redist xt_redist_repeat_new | ( | Xt_redist | redist, |
| MPI_Aint | src_extent, | ||
| MPI_Aint | dst_extent, | ||
| int | num_repetitions, | ||
| const int | displacements[num_repetitions] | ||
| ) |
constructor for a redistribution that has a repetitive pattern, which is described by the given redistribution with default settings
| [in] | redist | redistribution |
| [in] | src_extent | extent that scales the given displacements for the source data |
| [in] | dst_extent | extent that scales the given displacements for the destination data |
| [in] | num_repetitions | number of repetitions of the given redistribution |
| [in] | displacements | displacements for repetitions |
Definition at line 149 of file xt_redist_repeat.c.