51 int *tuple,
int counter,
53 size_t local_store_size,
54 int num_inputs,
int num_outputs,
int color);
prt_vdp_t * prt_vdp_new(int *tuple, int counter, prt_vdp_function_t function, size_t local_store_size, int num_inputs, int num_outputs, int color)
VDP constructor.
struct prt_channel_s ** input
void(* prt_vdp_function_t)(int *, int, struct prt_channel_s **, struct prt_channel_s **, void *, void *)
VDP's function pointer Defines the type of the pointer to the VDP's function.
int prt_vdp_ready(prt_vdp_t *vdp)
Check if a VDP is ready to fire. Only checks established channels. (NULL channels don't prevent firin...
void prt_vdp_destroy(prt_vdp_t *vdp)
prt_channel_direction_e
VDP's data channel direction Identifies the direction of a VDP channel during insertion.
VDP's data channel Implements a data link between a pair of VDPs. Identifies the source and destinati...
void prt_vdp_delete(prt_vdp_t *vdp)
VDP destructor Delete all local output channels. All local input channels are destroyed as output cha...
Virtual Data Processor (VDP) Is uniquely identified by a tuple. Fires for a predefined number of cycl...
struct prt_vdp_s prt_vdp_t
Virtual Data Processor (VDP) Is uniquely identified by a tuple. Fires for a predefined number of cycl...
VSA's worker thread Owns a number of VDPs. Knows the communication proxy.
struct prt_thread_s * thread
struct prt_channel_s ** output
void prt_vdp_channel_insert(prt_vdp_t *vdp, prt_channel_t *channel, prt_channel_direction_t direction, int slot)
Insert a new channel into a VDP.