Yet Another eXchange Tool 0.11.4
|
#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 void | generate_msg_infos (size_t nmsg, size_t num_redists, struct Xt_redist_msg *msgs, const MPI_Aint displacements[num_redists], const Xt_redist redists[num_redists], const size_t num_ranks[num_redists], const int *restrict ranks[num_redists], struct Xt_mpiddt_list *ddt_list, 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 124 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 113 of file xt_redist_collection_static.c.