|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|


Public Member Functions | |
| GpuSInputRegular (TiXmlElement *parms) | |
| The constructor for SInputRegular. | |
| virtual void | init () |
| Initialize data. | |
| virtual void | term () |
| Terminate process. | |
| virtual void | inputStimulus () |
| Process input stimulus for each time step. | |
Public Member Functions inherited from SInputRegular | |
| SInputRegular (TiXmlElement *parms) | |
| The constructor for SInputRegular. | |
Public Member Functions inherited from ISInput | |
Additional Inherited Members | |
Protected Attributes inherited from SInputRegular | |
| bool | fSInput |
| True if stimuls input is on. | |
| BGFLOAT | duration |
| Duration of a pulse in second. | |
| BGFLOAT | interval |
| Interval between pulses in second. | |
| int | nStepsCycle |
| The number of time steps for one cycle of a stimulation. | |
| int | nStepsInCycle |
| The time step within a cycle of stimulation. | |
| int | nStepsDuration |
| The number of time steps for duration of a pulse. | |
| int | nStepsInterval |
| The number of time steps for interval between pulses. | |
| vector< BGFLOAT > | initValues |
| Initial input values. | |
| vector< BGFLOAT > | values |
| Input values, where each entry corresponds with a summationPoint. | |
| vector< int > | nShiftValues |
| Shift values, which determin the synch of stimuli (all 0 when synchronous) | |
Definition at line 17 of file GpuSInputRegular.h.
| GpuSInputRegular::GpuSInputRegular | ( | TiXmlElement * | parms | ) |
The constructor for SInputRegular.
constructor
| [in] | psi | Pointer to the simulation information |
| [in] | parms | TiXmlElement to examine. |
Definition at line 24 of file GpuSInputRegular.cu.
| GpuSInputRegular::~GpuSInputRegular | ( | ) |
Definition at line 28 of file GpuSInputRegular.cu.
|
virtual |
Initialize data.
Initialize data.
| [in] | psi | Pointer to the simulation information. |
Reimplemented from SInputRegular.
Definition at line 35 of file GpuSInputRegular.cu.
|
virtual |
Process input stimulus for each time step.
Process input stimulus for each time step on GPU.
| [in] | psi | Pointer to the simulation information. |
Implements ISInput.
Definition at line 61 of file GpuSInputRegular.cu.
|
virtual |
Terminate process.
Terminate process.
| [in] | psi | Pointer to the simulation information. |
Reimplemented from SInputRegular.
Definition at line 52 of file GpuSInputRegular.cu.