AdjoinableMPI
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
request.h
Go to the documentation of this file.
1 /*
2 ##########################################################
3 # This file is part of the AdjoinableMPI library #
4 # released under the MIT License. #
5 # The full COPYRIGHT notice can be found in the top #
6 # level directory of the AdjoinableMPI distribution. #
7 ##########################################################
8 */
9 #ifndef _AMPI_REQUEST_H_
10 #define _AMPI_REQUEST_H_
11 
23 #include "ampi/userIF/pairedWith.h"
24 
34 };
35 
36 #ifdef AMPI_FORTRANCOMPATIBLE
37 typedef int AMPI_Request_origin;
38 #else
40 #endif
41 
46 
50  void *buf;
51 
55  void *adjointBuf ;
56 
60  int count;
61 
65  MPI_Datatype datatype;
66 
70  int endPoint;
71 
75  int tag;
76 
81 
85  MPI_Comm comm;
86 
91 
96 
100  MPI_Request plainRequest;
101 
105  MPI_Request tracedRequest;
106 
110  MPI_Request shadowRequest;
111 
116 
117  void *idx;
118 
119 };
120 
121 #ifdef AMPI_FORTRANCOMPATIBLE
122 typedef MPI_Request AMPI_Request;
123 #else
125 #endif
126 
129 #endif