Skip to content

Commit

Permalink
Merge pull request #235 from genn-team/jamesturner246-patch-1
Browse files Browse the repository at this point in the history
Host-initialised variable not copied to device in Izh_sparse
  • Loading branch information
neworderofjamie authored Apr 15, 2019
2 parents 511d6e2 + 59a9044 commit ced7959
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions userproject/Izh_sparse_project/model/Izh_sparse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ void modelDefinition(NNmodel &model)

// Override the variable mode of V and b so they can be used to calculate U on host
inh->setVarMode("V", VarMode::LOC_HOST_DEVICE_INIT_HOST);
inh->setVarMode("U", VarMode::LOC_HOST_DEVICE_INIT_HOST);
inh->setVarMode("b", VarMode::LOC_HOST_DEVICE_INIT_HOST);

model.addSynapsePopulation<WeightUpdateModels::StaticPulse, PostsynapticModels::DeltaCurr>("Exc_Exc", SynapseMatrixType::SPARSE_INDIVIDUALG, NO_DELAY,
Expand Down

0 comments on commit ced7959

Please sign in to comment.