|
PULSAR
0.1
Parallel Unified Linear Algebra with Systolic Arrays
|
PRT data packet. More...
#include "prt.h"

Go to the source code of this file.
Data Structures | |
| struct | prt_packet_s |
| VDP's data packet A packet of data transferred through VDP's channels. More... | |
Typedefs | |
| typedef struct prt_packet_s | prt_packet_t |
| VDP's data packet A packet of data transferred through VDP's channels. More... | |
Functions | |
| prt_packet_t * | prt_packet_new (size_t data_size) |
| packet constructor Sets the number of references to one. More... | |
| void | prt_packet_release (prt_packet_t *packet) |
| Release a packet. Decrements the number of active references. Destroys the packet when the last reference is removed. More... | |
PRT data packet.
PULSAR Runtime /pulsar/ Copyright (C) 2012-2013 University of Tennessee.
Definition in file prt_packet.h.
| typedef struct prt_packet_s prt_packet_t |
VDP's data packet A packet of data transferred through VDP's channels.
| prt_packet_t* prt_packet_new | ( | size_t | data_size | ) |
packet constructor Sets the number of references to one.
| data_size | size of the packet in bytes |
Definition at line 22 of file prt_packet.c.
References prt_packet_s::data, prt_packet_s::num_refs, and prt_assert.

| void prt_packet_release | ( | prt_packet_t * | packet | ) |
Release a packet. Decrements the number of active references. Destroys the packet when the last reference is removed.
| packet |
Definition at line 42 of file prt_packet.c.
References prt_packet_s::data, prt_packet_s::num_refs, and prt_assert.
