-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rxd sourcevar #1549
base: master
Are you sure you want to change the base?
Rxd sourcevar #1549
Conversation
The assumption is that the pointer is stable.
(Just a note - this is WIP and won't be merged soon / for 8.1 release.) |
When would we need to update a pointer? And where is the code that attempts to do this. One scenario: If we have a 1D simulation and |
@ramcdougal If the model has not changed, then the only time pointers need updating is after A recent test example for CoreNEURON was introduced in #1622. See test/coreneuron/test_pointer.py . To set the original POINTERs in the mod file when the
|
Did #2027 attempt to do anything about rxd memory? |
A temporary work around to allow rxd variables to be referenced in ParallelContext.source_var without raising an error due to being unable to update the pointer. This relies on the rxd variable to have a stable location from the time it was referenced by source_var throughout its usage in simulation. This must remain a work in progress until a way to check for rxd pointer validity/updating has been developed. While this code presently turns off checking of source_var pointers that are not explicitly associated with a Section, it cannot be merged to the master.
See #1523