Skip to content

Commit

Permalink
merged in master
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 12, 2018
2 parents 68fc149 + 4aa123a commit 5791ee0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pacman/utilities/utility_objs/resource_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ def _convert_preallocated_resources(self, preallocated_resources):
chip_to_arbitrary_core_requirement[chip.x, chip.y] = n_cores

# handle specific IP tags
for ip_tag in preallocated_resources.specific_iptag_resources:
ordered_ip_tags = sorted(
preallocated_resources.specific_iptag_resources,
key=lambda iptag: iptag.tag is None)
for ip_tag in ordered_ip_tags:
self._setup_board_tags(ip_tag.board)
tag = self._allocate_tag_id(ip_tag.tag, ip_tag.board)
self._update_data_structures_for_iptag(
Expand Down

0 comments on commit 5791ee0

Please sign in to comment.