17 #ifndef __DRIVER_MPI_COMMON_H__
18 #define __DRIVER_MPI_COMMON_H__
25 #ifdef STARPU_USE_MPI_MASTER_SLAVE
30 int _starpu_mpi_common_mp_init();
31 void _starpu_mpi_common_mp_deinit();
33 int _starpu_mpi_common_is_src_node();
34 int _starpu_mpi_common_get_src_node();
36 int _starpu_mpi_common_is_mp_initialized();
37 int _starpu_mpi_common_recv_is_ready(
const struct _starpu_mp_node *mp_node);
39 void _starpu_mpi_common_mp_initialize_src_sink(
struct _starpu_mp_node *node);
41 void _starpu_mpi_common_send(
const struct _starpu_mp_node *node,
void *msg,
int len,
void * event);
42 void _starpu_mpi_common_recv(
const struct _starpu_mp_node *node,
void *msg,
int len,
void * event);
44 void _starpu_mpi_common_mp_send(
const struct _starpu_mp_node *node,
void *msg,
int len);
45 void _starpu_mpi_common_mp_recv(
const struct _starpu_mp_node *node,
void *msg,
int len);
47 void _starpu_mpi_common_recv_from_device(
const struct _starpu_mp_node *node,
int src_devid,
void *msg,
int len,
void * event);
48 void _starpu_mpi_common_send_to_device(
const struct _starpu_mp_node *node,
int dst_devid,
void *msg,
int len,
void * event);
53 void _starpu_mpi_common_barrier(
void);
55 void _starpu_mpi_common_measure_bandwidth_latency(
double bandwidth_dtod[STARPU_MAXMPIDEVS][STARPU_MAXMPIDEVS],
double latency_dtod[STARPU_MAXMPIDEVS][STARPU_MAXMPIDEVS]);
Definition: copy_driver.h:127