CARLsim  5.0.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 (const std::vector< float > &rate)
 
void setRates (float rate)
 

Detailed Description

Definition at line 54 of file poisson_rate.cpp.

Constructor & Destructor Documentation

◆ Impl()

Impl ( int  nNeur,
bool  onGPU 
)
inline

Definition at line 57 of file poisson_rate.cpp.

◆ ~Impl()

~Impl ( )
inline

Definition at line 79 of file poisson_rate.cpp.

Member Function Documentation

◆ getNumNeurons()

int getNumNeurons ( )
inline

Definition at line 97 of file poisson_rate.cpp.

◆ getRate()

float getRate ( int  neurId)
inline

Definition at line 102 of file poisson_rate.cpp.

◆ getRatePtrCPU()

float* getRatePtrCPU ( )
inline

Definition at line 140 of file poisson_rate.cpp.

◆ getRatePtrGPU()

float* getRatePtrGPU ( )
inline

Definition at line 146 of file poisson_rate.cpp.

◆ getRates()

std::vector<float> getRates ( )
inline

Definition at line 119 of file poisson_rate.cpp.

◆ isOnGPU()

bool isOnGPU ( )
inline

Definition at line 151 of file poisson_rate.cpp.

◆ setRate()

void setRate ( int  neurId,
float  rate 
)
inline

Definition at line 156 of file poisson_rate.cpp.

◆ setRates() [1/2]

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

Definition at line 182 of file poisson_rate.cpp.

◆ setRates() [2/2]

void setRates ( float  rate)
inline

Definition at line 174 of file poisson_rate.cpp.


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