Skip to content

Commit

Permalink
Merge pull request #589 from genn-team/constant_cache_fix
Browse files Browse the repository at this point in the history
Small constant cache fix
  • Loading branch information
neworderofjamie authored Oct 10, 2023
2 parents 8f0c315 + b78f2f6 commit d65662d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/genn/backends/cuda/backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1992,6 +1992,7 @@ Backend::MemorySpaces Backend::getMergedGroupMemorySpaces(const ModelSpecMerged
{
// Get size of update group start ids (constant cache is precious so don't use for init groups
const size_t groupStartIDSize = (getGroupStartIDSize(modelMerged.getMergedNeuronUpdateGroups()) +
getGroupStartIDSize(modelMerged.getMergedNeuronPrevSpikeTimeUpdateGroups()) +
getGroupStartIDSize(modelMerged.getMergedPresynapticUpdateGroups()) +
getGroupStartIDSize(modelMerged.getMergedPostsynapticUpdateGroups()) +
getGroupStartIDSize(modelMerged.getMergedSynapseDynamicsGroups()) +
Expand Down

0 comments on commit d65662d

Please sign in to comment.