Yet Another eXchange Tool 0.11.3
Loading...
Searching...
No Matches
xt_redist_repeat.c File Reference
#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"
Include dependency graph for xt_redist_repeat.c:

Go to the source code of this file.

Functions

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)
 

Variables

static const char filename [] = "xt_redist_repeat.c"
 

Detailed Description

Function Documentation

◆ generate_msg_infos()

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 )
static

Definition at line 72 of file xt_redist_repeat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]src_displacementsdisplacements for source repetitions
[in]dst_displacementsdisplacements for destination repetitions
[in]configconfiguration object for custom settings

Definition at line 112 of file xt_redist_repeat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]src_displacementsdisplacements for source repetitions
[in]dst_displacementsdisplacements for destination repetitions

Definition at line 101 of file xt_redist_repeat.c.

Here is the call graph for this function:

◆ 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]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]displacementsdisplacements for repetitions
[in]configconfiguration object for custom settings

Definition at line 159 of file xt_redist_repeat.c.

Here is the call graph for this function:

◆ 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]redistredistribution
[in]src_extentextent that scales the given displacements for the source data
[in]dst_extentextent that scales the given displacements for the destination data
[in]num_repetitionsnumber of repetitions of the given redistribution
[in]displacementsdisplacements for repetitions

Definition at line 151 of file xt_redist_repeat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ filename

const char filename[] = "xt_redist_repeat.c"
static

Definition at line 69 of file xt_redist_repeat.c.