AdjoinableMPI
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
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
31
enum
AMPI_Request_origin_E
{
32
AMPI_SEND_ORIGIN
,
33
AMPI_RECV_ORIGIN
34
};
35
36
#ifdef AMPI_FORTRANCOMPATIBLE
37
typedef
int
AMPI_Request_origin
;
38
#else
39
typedef
enum
AMPI_Request_origin_E
AMPI_Request_origin
;
40
#endif
41
45
struct
AMPI_Request_S
{
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
80
enum
AMPI_PairedWith_E
pairedWith
;
81
85
MPI_Comm
comm
;
86
90
void
*
adjointTempBuf
;
91
95
int
adjointCount
;
96
100
MPI_Request
plainRequest
;
101
105
MPI_Request
tracedRequest
;
106
110
MPI_Request
shadowRequest
;
111
115
enum
AMPI_Request_origin_E
origin
;
116
117
void
*
idx
;
118
119
};
120
121
#ifdef AMPI_FORTRANCOMPATIBLE
122
typedef
MPI_Request
AMPI_Request
;
123
#else
124
typedef
struct
AMPI_Request_S
AMPI_Request
;
125
#endif
126
129
#endif
ampi
userIF
request.h
Generated on Mon Feb 22 2016 23:45:09 for AdjoinableMPI by
1.8.4