19 const std::vector<std::reference_wrapper<const SynapseGroupInternal>> &groups)
21 groups.front().get().getWUModel()->getSimCode() + groups.front().get().getWUModel()->getEventCode() + groups.front().get().getWUModel()->getEventThresholdConditionCode(), groups)
33 generateRunnerBase(backend, definitionsInternal, definitionsInternalFunc, definitionsInternalVar,
34 runnerVarDecl, runnerMergedStructAlloc, name);
46 static const std::string
name;
56 const std::vector<std::reference_wrapper<const SynapseGroupInternal>> &groups)
58 groups.front().get().getWUModel()->getLearnPostCode(), groups)
70 generateRunnerBase(backend, definitionsInternal, definitionsInternalFunc, definitionsInternalVar,
71 runnerVarDecl, runnerMergedStructAlloc, name);
79 static const std::string
name;
89 const std::vector<std::reference_wrapper<const SynapseGroupInternal>> &groups)
91 groups.front().get().getWUModel()->getSynapseDynamicsCode(), groups)
103 generateRunnerBase(backend, definitionsInternal, definitionsInternalFunc, definitionsInternalVar,
104 runnerVarDecl, runnerMergedStructAlloc, name);
GENN_EXPORT void generateSynapseUpdate(const filesystem::path &outputPath, const ModelSpecMerged &modelMerged, const BackendBase &backend, const std::string &suffix="")
Definition: generateModules.cc:236
static const std::string name
Definition: synapseUpdateGroupMerged.h:79
boost::uuids::detail::sha1::digest_type getHashDigest(Role role) const
Definition: groupMerged.cc:1188
Definition: groupMerged.h:1021
#define GENN_EXPORT
Definition: gennExport.h:13
Definition: synapseUpdateGroupMerged.h:85
Definition: modelSpecMerged.h:31
Helper class for generating code - automatically inserts brackets, indents etc.
Definition: backendBase.h:30
static const std::string name
Definition: synapseUpdateGroupMerged.h:46
Definition: codeStream.h:21
Definition: substitutions.h:21
Definition: synapseUpdateGroupMerged.h:52
Definition: backendBase.h:176
boost::uuids::detail::sha1::digest_type getHashDigest() const
Definition: synapseUpdateGroupMerged.h:94
PostsynapticUpdateGroupMerged(size_t index, const std::string &precision, const std::string &timePrecision, const BackendBase &backend, const std::vector< std::reference_wrapper< const SynapseGroupInternal >> &groups)
Definition: synapseUpdateGroupMerged.h:55
void generateRunner(const BackendBase &backend, CodeStream &definitionsInternal, CodeStream &definitionsInternalFunc, CodeStream &definitionsInternalVar, CodeStream &runnerVarDecl, CodeStream &runnerMergedStructAlloc) const
Definition: synapseUpdateGroupMerged.h:99
Role
Definition: groupMerged.h:1132
SynapseDynamicsGroupMerged(size_t index, const std::string &precision, const std::string &timePrecision, const BackendBase &backend, const std::vector< std::reference_wrapper< const SynapseGroupInternal >> &groups)
Definition: synapseUpdateGroupMerged.h:88
void generateRunner(const BackendBase &backend, CodeStream &definitionsInternal, CodeStream &definitionsInternalFunc, CodeStream &definitionsInternalVar, CodeStream &runnerVarDecl, CodeStream &runnerMergedStructAlloc) const
Definition: synapseUpdateGroupMerged.h:29
static const std::string name
Definition: synapseUpdateGroupMerged.h:112
boost::uuids::detail::sha1::digest_type getHashDigest() const
Definition: synapseUpdateGroupMerged.h:61
PresynapticUpdateGroupMerged(size_t index, const std::string &precision, const std::string &timePrecision, const BackendBase &backend, const std::vector< std::reference_wrapper< const SynapseGroupInternal >> &groups)
Definition: synapseUpdateGroupMerged.h:18
boost::uuids::detail::sha1::digest_type getHashDigest() const
Definition: synapseUpdateGroupMerged.h:24
Definition: synapseUpdateGroupMerged.h:15
void generateRunner(const BackendBase &backend, CodeStream &definitionsInternal, CodeStream &definitionsInternalFunc, CodeStream &definitionsInternalVar, CodeStream &runnerVarDecl, CodeStream &runnerMergedStructAlloc) const
Definition: synapseUpdateGroupMerged.h:66