Yet Another eXchange Tool 0.11.2
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <limits.h>
#include <mpi.h>
#include "xt/xt_idxlist.h"
#include "xt/xt_idxvec.h"
#include "xt/xt_xmap.h"
#include "xt/xt_mpi.h"
#include "xt_mpi_internal.h"
#include "core/core.h"
#include "core/ppm_xfuncs.h"
#include "xt/xt_xmap_all2all.h"
#include "xt/xt_xmap_intersection.h"
#include "xt_config_internal.h"
#include "xt_idxlist_internal.h"
#include "instr.h"
Go to the source code of this file.
Functions | |
static void | exchange_idxlists (struct Xt_com_list **src_intersections, size_t *num_src_intersections, struct Xt_com_list **dst_intersections, size_t *num_dst_intersections, int *stripify, Xt_idxlist src_idxlist_local, Xt_idxlist dst_idxlist_local, MPI_Comm comm, Xt_config config) |
Xt_xmap | xt_xmap_all2all_new (Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist, MPI_Comm comm) |
Xt_xmap | xt_xmap_all2all_custom_new (Xt_idxlist src_idxlist, Xt_idxlist dst_idxlist, MPI_Comm comm, Xt_config config) |
Definition in file xt_xmap_all2all.c.
|
static |
Definition at line 71 of file xt_xmap_all2all.c.
Xt_xmap xt_xmap_all2all_custom_new | ( | Xt_idxlist | src_idxlist, |
Xt_idxlist | dst_idxlist, | ||
MPI_Comm | comm, | ||
Xt_config | config ) |
constructor for an exchange map with custom parameters
this operation is collective over all processes in comm
it uses all-to-all communication for the initialisation
[in] | src_idxlist | source index list |
[in] | dst_idxlist | destination index list |
[in] | comm | MPI communicator that contains all processes that take part in the exchange (xt_xmap_all2all_new will make its own copy of comm) |
[in] | config | custom parameters |
Definition at line 218 of file xt_xmap_all2all.c.
Xt_xmap xt_xmap_all2all_new | ( | Xt_idxlist | src_idxlist, |
Xt_idxlist | dst_idxlist, | ||
MPI_Comm | comm ) |
constructor for an exchange map
this operation is collective over all processes in comm
it uses all-to-all communication for the initialisation
[in] | src_idxlist | source index list |
[in] | dst_idxlist | destination index list |
[in] | comm | MPI communicator that contains all processes that take part in the exchange (xt_xmap_all2all_new will make its own copy of comm) |
Definition at line 210 of file xt_xmap_all2all.c.