QUDA  v1.1.0
A library for QCD on GPUs
mpi_comm_handle.h
Go to the documentation of this file.
1 #ifndef _COMM_HANDLE_H
2 #define _COMM_HANDLE_H
3 
4 #if defined(QMP_COMMS) || defined(MPI_COMMS)
5 #include <mpi.h>
6 extern MPI_Comm MPI_COMM_HANDLE;
7 #endif
8 
9 #ifdef QMP_COMMS
10 #include <qmp.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 QMP_status_t QMP_get_mpi_comm(QMP_comm_t comm, void **mpicomm);
17 
18 #ifdef __cplusplus
19 }
20 #endif
21 
22 #endif
23 
24 #endif /* _COMM_HANDLE_H */