PULSAR  2.0.0
Parallel Ultra-Light Systolic Array Runtime
 All Data Structures Files Functions Typedefs Enumerations Macros Groups
prt_request.h
Go to the documentation of this file.
1 
11 #ifndef PRT_REQUEST_H
12 #define PRT_REQUEST_H
13 
14 #include "prt.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 struct prt_packet_s;
21 
26 typedef struct prt_request_s {
27  struct prt_packet_s *packet;
28  size_t size;
29  int peer;
30  int tag;
31  MPI_Request request;
32  MPI_Status status;
34 
36  struct prt_packet_s *packet, size_t size, int peer, int tag);
37 void prt_request_delete(prt_request_t *request);
38 void prt_request_send(prt_request_t *request);
39 void prt_request_recv(prt_request_t *request);
40 int prt_request_test(prt_request_t *request);
41 void prt_request_cancel(prt_request_t *request);
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* PRT_REQUEST_H */