PULSAR  2.0.0
Parallel Ultra-Light Systolic Array Runtime
 All Data Structures Files Functions Typedefs Enumerations Macros Groups
prt_transfer.c File Reference

PRT local transfer. More...

#include "prt_transfer.h"

Go to the source code of this file.

Functions

prt_transfer_tprt_transfer_new (struct prt_packet_s *packet, struct prt_channel_s *channel, enum prt_direction_e direction, int agent)
 Creates a new local transfer object. More...
 
void prt_transfer_delete (prt_transfer_t *transfer)
 Destroys a local transfer object. More...
 

Detailed Description

PRT local transfer.

Author
Jakub Kurzak

PULSAR Runtime http://icl.utk.edu/pulsar/ Copyright (C) 2012-2015 University of Tennessee.

Definition in file prt_transfer.c.

Function Documentation

void prt_transfer_delete ( prt_transfer_t transfer)

Destroys a local transfer object.

Parameters
–The local transfer object to destroy.

Definition at line 46 of file prt_transfer.c.

prt_transfer_t* prt_transfer_new ( struct prt_packet_s packet,
struct prt_channel_s channel,
enum prt_direction_e  direction,
int  agent 
)

Creates a new local transfer object.

Parameters
packet– The packet to transfer.
channel– The channel to push to.
direction– The direction of the transfer.
agent– The number of the communication agent to use.
Returns
A new local transfer object.

Definition at line 24 of file prt_transfer.c.