GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
Snippet Namespace Reference

Classes

class  Base
 Base class for all code snippets. More...
 
class  Init
 
class  InitialiserContainerBase
 
class  InitialiserContainerBase< V, 0 >
 

Typedefs

template<size_t NumVars>
using ValueBase = InitialiserContainerBase< double, NumVars >
 

Functions

void updateHash (const Base::EGP &e, boost::uuids::detail::sha1 &hash)
 
void updateHash (const Base::ParamVal &p, boost::uuids::detail::sha1 &hash)
 
void updateHash (const Base::DerivedParam &d, boost::uuids::detail::sha1 &hash)
 

Detailed Description

Wrapper to ensure at compile time that correct number of values are used when initialising models

Typedef Documentation

◆ ValueBase

template<size_t NumVars>
using Snippet::ValueBase = typedef InitialiserContainerBase<double, NumVars>

Function Documentation

◆ updateHash() [1/3]

void Snippet::updateHash ( const Base::EGP e,
boost::uuids::detail::sha1 &  hash 
)
inline

◆ updateHash() [2/3]

void Snippet::updateHash ( const Base::ParamVal p,
boost::uuids::detail::sha1 &  hash 
)
inline

◆ updateHash() [3/3]

void Snippet::updateHash ( const Base::DerivedParam d,
boost::uuids::detail::sha1 &  hash 
)
inline