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

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)
 

Detailed Description

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt_xmap_all2all.c.

Function Documentation

◆ exchange_idxlists()

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

Definition at line 71 of file xt_xmap_all2all.c.

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

◆ xt_xmap_all2all_custom_new()

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

Parameters
[in]src_idxlistsource index list
[in]dst_idxlistdestination index list
[in]commMPI communicator that contains all processes that take part in the exchange (xt_xmap_all2all_new will make its own copy of comm)
[in]configcustom parameters

Definition at line 218 of file xt_xmap_all2all.c.

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

◆ xt_xmap_all2all_new()

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

Parameters
[in]src_idxlistsource index list
[in]dst_idxlistdestination index list
[in]commMPI 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.

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