Skip to content
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

Set synaptic propagation modes only if variables are modified #68

Merged

Conversation

denisalevi
Copy link
Member

Until now we just checked for occurences of _postsynaptic_idx,
_presynaptic_idx and _idx in variable_indices passed to CUDAStandaloneDevice.code_object(). But just reading variables doesn't lead to
race conditions, so we need to check for variables that will be written to in vector_code.

Tests running now.

Before we just checked for occurences of `_postsynaptic_idx`,
`_presynaptic_idx` and `_idx`. But just reading them doesn't lead to
race conditions.
@denisalevi denisalevi force-pushed the make_synaptic_propagation_modes_depend_on_writes_only branch from 5fa0b91 to 83b1db6 Compare March 14, 2017 20:23
@denisalevi denisalevi merged commit 5dd0b0e into master Mar 15, 2017
@denisalevi denisalevi deleted the make_synaptic_propagation_modes_depend_on_writes_only branch March 22, 2017 18:24
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.

None yet

1 participant