17 #ifndef __STARPU_MPI_MPI_BACKEND_H__ 18 #define __STARPU_MPI_MPI_BACKEND_H__ 20 #include <common/config.h> 30 #ifdef STARPU_USE_MPI_MPI 32 extern int _starpu_mpi_tag;
33 #define _STARPU_MPI_TAG_ENVELOPE _starpu_mpi_tag 34 #define _STARPU_MPI_TAG_DATA _starpu_mpi_tag+1 35 #define _STARPU_MPI_TAG_SYNC_DATA _starpu_mpi_tag+2 37 enum _starpu_envelope_mode
39 _STARPU_MPI_ENVELOPE_DATA=0,
40 _STARPU_MPI_ENVELOPE_SYNC_READY=1
45 enum _starpu_envelope_mode mode;
47 starpu_mpi_tag_t data_tag;
53 MPI_Request data_request;
55 starpu_pthread_mutex_t req_mutex;
56 starpu_pthread_cond_t req_cond;
57 starpu_pthread_mutex_t posted_mutex;
58 starpu_pthread_cond_t posted_cond;
67 unsigned is_internal_req:1;
68 unsigned to_destroy:1;
74 #endif // STARPU_USE_MPI_MPI 80 #endif // __STARPU_MPI_MPI_BACKEND_H__ Definition: starpu_mpi_private.h:217
Definition: starpu_mpi_mpi_backend.h:51
Definition: uthash.h:1015
Definition: starpu_mpi_early_data.h:37
struct _starpu_mpi_req * other_request
Definition: starpu_mpi_mpi_backend.h:61
Definition: starpu_mpi_mpi_backend.h:43