calculate system cores before getMachine can be called #547
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These PRs calculate the resources needed for monitor cores before a run is stated and a machine in requested.
This has 2 functions.
The ChipCounter is more accurate and will work for Spin2
Allow users to request n_cores in setup
To convert that to n Chips and N boards we need to know how many cores per chips will be taken by the monitor cores.
Therefor we now support the idea of adding Sample (never to be placed) monitor vertices.
We track the monitor vertices so can calculate sdram when we have all the required data
As the SDRAM may depend on the runtime the calculation of the SDRAM cost of these vertices is delayed until needed.
Only core count is needed for get_machine
ChipCounter is only used during simulator run.
Must be done together with:
SpiNNakerManchester/SpiNNFrontEndCommon#1164
allows:
SpiNNakerManchester/MarkovChainMonteCarlo#63
tested by http://apollo.cs.man.ac.uk:8080/blue/organizations/jenkins/Integration%20Tests/detail/monitor_size/1/pipeline/