PULSAR
2.0.0
Parallel Ultra-Light Systolic Array Runtime
Main Page
Modules
Data Structures
Files
File List
Globals
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.
28
}
prt_transfer_t
;
29
30
prt_transfer_t
*
prt_transfer_new
(
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 */
prt_transfer.h
Generated on Thu Nov 20 2014 18:12:00 for PULSAR by
1.8.4