DistDir
Data Structures | Typedefs | Functions
exchange.h File Reference
#include "src/core/algorithm/map.h"
#include "src/setup/setting.h"
#include "src/core/exchange/backend_communication/backend_mpi.h"
#include "src/core/exchange/backend_hardware/backend_cpu.h"

Go to the source code of this file.

Data Structures

struct  t_exchange
 
struct  t_wait
 The structure contains pointers to waiting functions. More...
 
struct  t_exchanger
 

Typedefs

typedef struct t_exchange t_exchange
 
typedef void(* backend_func_wait) (t_mpi_exchange *)
 
typedef struct t_wait t_wait
 
typedef void(* backend_func_go) (t_exchange *, t_exchange *, t_map *, t_kernels *, t_mpi_exchange *, t_wait *, void *, void *, int *, int *)
 
typedef struct t_exchanger t_exchanger
 

Functions

t_exchangernew_exchanger (t_map *map, MPI_Datatype type, distdir_hardware hw)
 Create a new t_exchanger structure. More...
 
void exchanger_go (t_exchanger *exchanger, void *src_data, void *dst_data)
 Arbitrary exchange given a map. More...
 
void exchanger_go_with_transform (t_exchanger *exchanger, void *src_data, void *dst_data, int *transform_src, int *transform_dst)
 Arbitrary exchange given a map with transformation of memory layout. More...
 
void delete_exchanger (t_exchanger *exchanger)
 Clean memory of a t_exchanger structure. More...
 

Typedef Documentation

◆ backend_func_go

typedef void(* backend_func_go) (t_exchange *, t_exchange *, t_map *, t_kernels *, t_mpi_exchange *, t_wait *, void *, void *, int *, int *)

◆ backend_func_wait

typedef void(* backend_func_wait) (t_mpi_exchange *)

◆ t_exchange

typedef struct t_exchange t_exchange

◆ t_exchanger

typedef struct t_exchanger t_exchanger

◆ t_wait

typedef struct t_wait t_wait