#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.
|
static void | generate_msg_infos (struct Xt_redist_msg *restrict msgs, 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) |
|
|
static const char | filename [] = "xt_redist_repeat.c" |
|
◆ generate_msg_infos()
◆ xt_redist_repeat_asym_custom_new()
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.
- Parameters
-
[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 112 of file xt_redist_repeat.c.
◆ xt_redist_repeat_asym_new()
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.
- Parameters
-
[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 101 of file xt_redist_repeat.c.
◆ xt_redist_repeat_custom_new()
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
- Parameters
-
[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 159 of file xt_redist_repeat.c.
◆ xt_redist_repeat_new()
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
- Parameters
-
[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 151 of file xt_redist_repeat.c.
◆ filename
const char filename[] = "xt_redist_repeat.c" |
|
static |