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

PRT device. More...

#include "prt_device.h"

Go to the source code of this file.

Functions

prt_device_tprt_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...
 

Detailed Description

PRT device.

Author
Jakub Kurzak

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

Definition in file prt_device.c.

Function Documentation

void prt_device_cycle ( prt_device_t device)

Implements device processing cycle.

Parameters
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.

Parameters
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.

Parameters
rank– The local rank of the device.
accelerator– The global rank of the device.
agent_rank– The rank of the communication agent.
Returns
A new device object.

Definition at line 23 of file prt_device.c.