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

View holds requires #193

Merged
merged 7 commits into from
Sep 14, 2022
Merged

View holds requires #193

merged 7 commits into from
Sep 14, 2022

Conversation

Christian-B
Copy link
Member

@Christian-B Christian-B commented Aug 30, 2022

the flags requires_data_generation and requires_mapping where held in many places (vertices, partitions ect) yet if even a single one was True the Mapping or Data Generation has to be redone.
Then all the flags had to be reset.

Instead there is now a single flag for each held in the View.
They can be set to True using the View
Are automatically set back to False at the end of a run.

The flags are True before the first run so will be true if is_ran_ever() is False

vertices_or_edges_added is now part of requires_mapping
AbstractChangableAfterRun no longer needed to identify what may hold these flags

mark_no_changes has been removed or for Population replaced with _reset_has_read_neuron_parameters_this_run

Must be done at the same time as:
SpiNNakerManchester/PACMAN#462
SpiNNakerManchester/SpiNNFrontEndCommon#973
SpiNNakerManchester/sPyNNaker#1217
SpiNNakerManchester/SpiNNGym#49

tested by SpiNNakerManchester/IntegrationTests#133

@rowleya rowleya merged commit f07e338 into master Sep 14, 2022
@rowleya rowleya deleted the requires branch September 14, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants