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

Stop ResourceTracker from looking at the Whole Machine #830

Merged
merged 20 commits into from
Aug 26, 2021
Merged

Conversation

Christian-B
Copy link
Member

Part of SpiNNakerManchester/PACMAN#403

Deleted tests where testing preallocation options never use and now removed

@Christian-B Christian-B added the enhancement This adds a new feature label Jul 6, 2021
@@ -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")
Copy link
Member

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?

Copy link
Member

@dkfellows dkfellows left a 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?

@Christian-B
Copy link
Member Author

fixes #836

@dkfellows
Copy link
Member

spinn_front_end_common/interface/interface_functions/pre_allocate_for_bit_field_router_compressor.py:51:9: F821 undefined name 'progress_bar'

Whoops! 🤣

return allocated
pre_allocated_resources.add_sdram_all(sdram)

progress_bar.end()
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed Gone!

@rowleya rowleya merged commit f898751 into master Aug 26, 2021
@rowleya rowleya deleted the pre_allocator2 branch August 26, 2021 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants