GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
CustomUpdateWUInternal Class Reference

#include <customUpdateInternal.h>

Inheritance diagram for CustomUpdateWUInternal:
CustomUpdateWU CustomUpdateBase

Public Member Functions

 CustomUpdateWUInternal (const std::string &name, const std::string &updateGroupName, const CustomUpdateModels::Base *customUpdateModel, const std::vector< double > &params, const std::vector< Models::VarInit > &varInitialisers, const std::vector< Models::WUVarReference > &varReferences, const std::vector< Models::EGPReference > &egpReferences, VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
 
- Public Member Functions inherited from CustomUpdateWU
const std::vector< Models::WUVarReference > & getVarReferences () const
 
- Public Member Functions inherited from CustomUpdateBase
 CustomUpdateBase (const CustomUpdateBase &)=delete
 
 CustomUpdateBase ()=delete
 
void setVarLocation (const std::string &varName, VarLocation loc)
 Set location of state variable. More...
 
const std::string & getName () const
 
const std::string & getUpdateGroupName () const
 
const CustomUpdateModels::BasegetCustomUpdateModel () const
 Gets the custom update model used by this group. More...
 
const std::vector< double > & getParams () const
 
const std::vector< Models::VarInit > & getVarInitialisers () const
 
const std::vector< Models::EGPReference > & getEGPReferences () const
 
VarLocation getVarLocation (const std::string &varName) const
 Get variable location for custom update model state variable. More...
 
VarLocation getVarLocation (size_t index) const
 Get variable location for custom update model state variable. More...
 
bool isVarInitRequired () const
 Is var init code required for any variables in this custom update group's custom update model? More...
 

Additional Inherited Members

- Protected Member Functions inherited from CustomUpdateWU
 CustomUpdateWU (const std::string &name, const std::string &updateGroupName, const CustomUpdateModels::Base *customUpdateModel, const std::vector< double > &params, const std::vector< Models::VarInit > &varInitialisers, const std::vector< Models::WUVarReference > &varReferences, const std::vector< Models::EGPReference > &egpReferences, VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
 
void finalize (unsigned int batchSize)
 
bool isBatchReduction () const
 
bool isTransposeOperation () const
 
const SynapseGroupInternalgetSynapseGroup () const
 
boost::uuids::detail::sha1::digest_type getHashDigest () const
 Updates hash with custom update. More...
 
boost::uuids::detail::sha1::digest_type getInitHashDigest () const
 Updates hash with custom update. More...
 
- Protected Member Functions inherited from CustomUpdateBase
 CustomUpdateBase (const std::string &name, const std::string &updateGroupName, const CustomUpdateModels::Base *customUpdateModel, const std::vector< double > &params, const std::vector< Models::VarInit > &varInitialisers, const std::vector< Models::EGPReference > &egpReferences, VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
 
void initDerivedParams (double dt)
 
const std::vector< double > & getDerivedParams () const
 
bool isInitRNGRequired () const
 Does this current source group require an RNG for it's init code. More...
 
bool isZeroCopyEnabled () const
 
bool isBatched () const
 Is this custom update batched i.e. run in parallel across model batches. More...
 
void updateHash (boost::uuids::detail::sha1 &hash) const
 Updates hash with custom update. More...
 
void updateInitHash (boost::uuids::detail::sha1 &hash) const
 Updates hash with custom update. More...
 
boost::uuids::detail::sha1::digest_type getVarLocationHashDigest () const
 
template<typename V >
bool isReduction (const std::vector< V > &varRefs, VarAccessDuplication duplication) const
 
template<typename V >
void checkVarReferences (const std::vector< V > &varRefs)
 Helper function to check if variable reference types match those specified in model. More...
 
template<typename V >
void checkVarReferenceBatching (const std::vector< V > &varRefs, unsigned int batchSize)
 Helper function to check if variable reference types match those specified in model. More...
 

Constructor & Destructor Documentation

◆ CustomUpdateWUInternal()

CustomUpdateWUInternal::CustomUpdateWUInternal ( const std::string &  name,
const std::string &  updateGroupName,
const CustomUpdateModels::Base customUpdateModel,
const std::vector< double > &  params,
const std::vector< Models::VarInit > &  varInitialisers,
const std::vector< Models::WUVarReference > &  varReferences,
const std::vector< Models::EGPReference > &  egpReferences,
VarLocation  defaultVarLocation,
VarLocation  defaultExtraGlobalParamLocation 
)
inline

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