CARLsim  6.1.0
CARLsim: a GPU-accelerated SNN simulator
PoissonRate::Impl Class Reference

Public Member Functions

 Impl (int nNeur, bool onGPU)
 
 ~Impl ()
 
int getNumNeurons ()
 
float getRate (int neurId)
 
float * getRatePtrCPU ()
 
float * getRatePtrGPU ()
 
std::vector< float > getRates ()
 
bool isOnGPU ()
 
void setRate (int neurId, float rate)
 
void setRates (float rate)
 
void setRates (const std::vector< float > &rate)
 

Detailed Description

Definition at line 56 of file poisson_rate.cpp.

Constructor & Destructor Documentation

◆ Impl()

Impl ( int  nNeur,
bool  onGPU 
)
inline

Definition at line 59 of file poisson_rate.cpp.

◆ ~Impl()

~Impl ( )
inline

Definition at line 81 of file poisson_rate.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getNumNeurons()

int getNumNeurons ( )
inline

Definition at line 99 of file poisson_rate.cpp.

Here is the caller graph for this function:

◆ getRate()

float getRate ( int  neurId)
inline

Definition at line 104 of file poisson_rate.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRatePtrCPU()

float* getRatePtrCPU ( )
inline

Definition at line 148 of file poisson_rate.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRatePtrGPU()

float* getRatePtrGPU ( )
inline

Definition at line 154 of file poisson_rate.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRates()

std::vector<float> getRates ( )
inline

Definition at line 123 of file poisson_rate.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOnGPU()

bool isOnGPU ( )
inline

Definition at line 159 of file poisson_rate.cpp.

Here is the caller graph for this function:

◆ setRate()

void setRate ( int  neurId,
float  rate 
)
inline

Definition at line 164 of file poisson_rate.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRates() [1/2]

void setRates ( float  rate)
inline

Definition at line 182 of file poisson_rate.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setRates() [2/2]

void setRates ( const std::vector< float > &  rate)
inline

Definition at line 190 of file poisson_rate.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following file: