|
PULSAR
2.0.0
Parallel Ultra-Light Systolic Array Runtime
|
PRT device. More...
#include "prt.h"Go to the source code of this file.
Data Structures | |
| struct | prt_device_s |
| VSA's accelerator device. Represents a hardware accelerator. Currently synonymous with an Nvidia GPU. More... | |
Typedefs | |
| typedef struct prt_device_s | prt_device_t |
| VSA's accelerator device. Represents a hardware accelerator. Currently synonymous with an Nvidia GPU. More... | |
Functions | |
| prt_device_t * | prt_device_new (int rank, int accelerator, int agent_rank) |
| Creates a new device. More... | |
| void | prt_device_delete (prt_device_t *device) |
| Destroys a device. More... | |
| void | prt_device_cycle (prt_device_t *device) |
| Implements device processing cycle. More... | |
PRT device.
PULSAR Runtime http://icl.utk.edu/pulsar/ Copyright (C) 2012-2015 University of Tennessee.
Definition in file prt_device.h.
| typedef struct prt_device_s prt_device_t |
VSA's accelerator device. Represents a hardware accelerator. Currently synonymous with an Nvidia GPU.
"finished" is a one-directional synchronization variable. Therefore declered volatile, but no need for atomic access.
| void prt_device_cycle | ( | prt_device_t * | device) |
Implements device processing cycle.
| device | – The device to cycle. |
Definition at line 67 of file prt_device.c.
| void prt_device_delete | ( | prt_device_t * | device) |
Destroys a device.
| device | – The device to destroy. |
Definition at line 49 of file prt_device.c.
| prt_device_t* prt_device_new | ( | int | rank, |
| int | accelerator, | ||
| int | agent_rank | ||
| ) |
Creates a new device.
| rank | – The local rank of the device. |
| accelerator | – The global rank of the device. |
| agent_rank | – The rank of the communication agent. |
Definition at line 23 of file prt_device.c.