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

Global Setting Shared Object #282

Closed
Christian-B opened this issue Feb 21, 2020 · 3 comments
Closed

Global Setting Shared Object #282

Christian-B opened this issue Feb 21, 2020 · 3 comments
Assignees
Milestone

Comments

@Christian-B
Copy link
Member

Christian-B commented Feb 21, 2020

There are several many setting which are fixed in the whole system and which do not change over time except for during sim.setup and sim.reset.

Instead of passing these up and down all over the place have a singleton objected shared with everything that holds these.

It will have an interface much like a read only dictionary with a few clearly marked set methods that should only be called from config handler and unit/integration tests.

Values to put in here include.
TimeScaleFactor
MachineTimeStep or the user defined on if we allow multiple ones

All the report and application data folders

It may well hold ALL values set by the cfg files to keep these is on well defined place.

Undecided if it would hold settings decided by the simulator such as the runtime to plan or save data for.

It should NOT hold options created by one algorithm to be passed to the next.

@Christian-B Christian-B added this to the Bluesky milestone Feb 21, 2020
@Christian-B Christian-B self-assigned this Feb 21, 2020
@Christian-B
Copy link
Member Author

Discussing with @dkfellows it is probably better to place hardware descriptions at the top level of the Machine Objects

@Christian-B
Copy link
Member Author

SpiNNakerManchester/SpiNNMachine#215 starts work of moving the Values required before a real Machine obtained to cfg

@Christian-B
Copy link
Member Author

Fixed with SpiNNakerManchester/SpiNNMachine#217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant