Yet Another eXchange Tool
0.9.0
|
#include <assert.h>
#include <limits.h>
#include <stdbool.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_collection_static.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 size_t | generate_msg_infos (struct Xt_redist_msg **msgs, const MPI_Aint *displacements, const Xt_redist *redists, size_t num_redists, MPI_Comm comm, enum xt_msg_direction direction) |
Xt_redist | xt_redist_collection_static_new (Xt_redist *redists, int num_redists, const MPI_Aint src_displacements[num_redists], const MPI_Aint dst_displacements[num_redists], MPI_Comm comm) |
Xt_redist | xt_redist_collection_static_custom_new (Xt_redist *redists, int num_redists, const MPI_Aint src_displacements[num_redists], const MPI_Aint dst_displacements[num_redists], MPI_Comm comm, Xt_config config) |
Definition in file xt_redist_collection_static.c.
|
static |
Definition at line 70 of file xt_redist_collection_static.c.
Xt_redist xt_redist_collection_static_custom_new | ( | Xt_redist * | redists, |
int | num_redists, | ||
const MPI_Aint | src_displacements[num_redists], | ||
const MPI_Aint | dst_displacements[num_redists], | ||
MPI_Comm | comm, | ||
Xt_config | config | ||
) |
constructor for a redistribution collection that is comprised of multiple other redistributions with custom settings
[in] | redists | redistributions |
[in] | num_redists | number of redistributions |
[in] | src_displacements | array of displacements of the source input arrays for the exchange |
[in] | dst_displacements | array of displacements of the destination input arrays for the exchange |
[in] | comm | MPI communicator |
[in] | config | configuration object for customizable settings |
Definition at line 134 of file xt_redist_collection_static.c.
Xt_redist xt_redist_collection_static_new | ( | Xt_redist * | redists, |
int | num_redists, | ||
const MPI_Aint | src_displacements[num_redists], | ||
const MPI_Aint | dst_displacements[num_redists], | ||
MPI_Comm | comm | ||
) |
constructor for a redistribution collection that is comprised of multiple other redistributions with default settings
[in] | redists | redistributions |
[in] | num_redists | number of redistributions |
[in] | src_displacements | array of displacements of the source input arrays for the exchange |
[in] | dst_displacements | array of displacements of the destination input arrays for the exchange |
[in] | comm | MPI communicator |
Definition at line 123 of file xt_redist_collection_static.c.