17#ifndef __DRIVER_MPI_COMMON_H__
18#define __DRIVER_MPI_COMMON_H__
25#ifdef STARPU_USE_MPI_MASTER_SLAVE
30int _starpu_mpi_common_mp_init();
31void _starpu_mpi_common_mp_deinit();
33int _starpu_mpi_common_is_src_node();
34int _starpu_mpi_common_get_src_node();
36int _starpu_mpi_common_is_mp_initialized();
37int _starpu_mpi_common_recv_is_ready(
const struct _starpu_mp_node *mp_node);
39void _starpu_mpi_common_mp_initialize_src_sink(
struct _starpu_mp_node *node);
41void _starpu_mpi_common_send(
const struct _starpu_mp_node *node,
void *msg,
int len,
void * event);
42void _starpu_mpi_common_recv(
const struct _starpu_mp_node *node,
void *msg,
int len,
void * event);
44void _starpu_mpi_common_mp_send(
const struct _starpu_mp_node *node,
void *msg,
int len);
45void _starpu_mpi_common_mp_recv(
const struct _starpu_mp_node *node,
void *msg,
int len);
47void _starpu_mpi_common_recv_from_device(
const struct _starpu_mp_node *node,
int src_devid,
void *msg,
int len,
void * event);
48void _starpu_mpi_common_send_to_device(
const struct _starpu_mp_node *node,
int dst_devid,
void *msg,
int len,
void * event);
53void _starpu_mpi_common_barrier(
void);
55void _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