Skip to content

Changes to adapt mod files for MOD to CPP translation#5

Merged
olupton merged 5 commits into
masterfrom
pramodk/mod-cpp
Apr 1, 2022
Merged

Changes to adapt mod files for MOD to CPP translation#5
olupton merged 5 commits into
masterfrom
pramodk/mod-cpp

Conversation

@pramodk

@pramodk pramodk commented Mar 29, 2022

Copy link
Copy Markdown
Member
  • Remove random123 APIs as they are now included via headers
  • fix vec_* api usage: use IvocVect* instead of void*
  • Avoid passing void*

See neuronsimulator/nrn#1597

* Remove random123 APIs as they are now included via headers
* fix vec_* api usage
* Avoid passing void*

See neuronsimulator/nrn#1597

@nrnhines nrnhines left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is ok to do this without regard to legacy NEURON versions since we are maintaining it with regard to performance. The old versions are available in this repository.

Comment thread mechanisms/vecevent.mod Outdated
Comment thread mechanisms/Gfluct3.mod
Comment thread mechanisms/vecevent.mod Outdated
olupton pushed a commit to neuronsimulator/nrn that referenced this pull request Mar 31, 2022
- [x] Update nrntest : @olupton: neuronsimulator/nrntest#26 is merged.
- [x] Update tqperf : @pramodk : neuronsimulator/tqperf#11
- [x] Update reduced_dentate: @pramodk : neuronsimulator/reduced_dentate#5
- [ ] olfactory-bulb-3d: @iomaganaris
- [ ] testcorenrn: @alkino
- [ ] channel-benchmark: @jorblancoa

All CI here in master should pass to make sure model changes are
backward compatible with MOD to C translation.
@olupton olupton merged commit 6aecc53 into master Apr 1, 2022
@olupton olupton deleted the pramodk/mod-cpp branch April 1, 2022 09:40
olupton added a commit to neuronsimulator/nrn that referenced this pull request Apr 1, 2022
* channel-benchmark!9
* HumanBrainProject/olfactory-bulb-3d#19,
  actually this PR merged into 2to3 branch.
* neuronsimulator/nrntest#26
* neuronsimulator/reduced_dentate#5
* neuronsimulator/testcorenrn#10
* neuronsimulator/tqperf#11
* BlueBrain/CoreNeuron#792
* BlueBrain/CoreNeuron#793

The new versions should still support being translated to C code by
NEURON versions with #1755,
but should additionally support being translated to C++ code: see
#1597.

Co-authored-by: Olli Lupton <oliver.lupton@epfl.ch>
Co-authored-by: Ioannis Magkanaris <iomagkanaris@gmail.com>
Co-authored-by: Jorge Blanco Alonso <jorge.blancoalonso@epfl.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants