-
Notifications
You must be signed in to change notification settings - Fork 11
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
Stop ResourceTracker from looking at the Whole Machine #830
Conversation
@@ -38,23 +38,19 @@ def __call__(self, machine, pre_allocated_resources): | |||
""" | |||
|
|||
progress_bar = ProgressBar( | |||
machine.n_chips, | |||
"Preallocating resources for bit field compressor") | |||
1, "Preallocating resources for bit field compressor") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed at all?
...nt_end_common/interface/interface_functions/pre_allocate_resources_for_chip_power_monitor.py
Outdated
Show resolved
Hide resolved
...end_common/interface/interface_functions/pre_allocate_resources_for_live_packet_gatherers.py
Outdated
Show resolved
Hide resolved
..._end_common/interface/interface_functions/preallocate_resources_for_extra_monitor_support.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I'm wondering whether progress bars with just a single unit are necessary?
fixes #836 |
Whoops! 🤣 |
return allocated | ||
pre_allocated_resources.add_sdram_all(sdram) | ||
|
||
progress_bar.end() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is no longer wanted; it makes the code fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed Gone!
Part of SpiNNakerManchester/PACMAN#403
Deleted tests where testing preallocation options never use and now removed