PULSAR  2.0.0
Parallel Ultra-Light Systolic Array Runtime
 All Data Structures Files Functions Typedefs Enumerations Macros Groups
prt_transfer.h
Go to the documentation of this file.
1 
11 #ifndef PRT_TRANSFER_H
12 #define PRT_TRANSFER_H
13 
14 #include "prt.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
23 typedef struct prt_transfer_s {
24  struct prt_packet_s *packet; // Source packet.
25  struct prt_channel_s *channel; // Destination channel.
26  prt_direction_t direction; // Transfer direction.
27  int agent; // Transfer agent.
29 
31  struct prt_packet_s *packet,
32  struct prt_channel_s *channel,
33  prt_direction_t direction,
34  int agent);
35 void prt_transfer_delete(prt_transfer_t *transfer);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* PRT_TRANSFER_H */