pacman.operations.tag_allocator_algorithms package

Module contents

class pacman.operations.tag_allocator_algorithms.BasicTagAllocator

Bases: object

Basic tag allocator that goes though the boards available and applies the IP tags and reverse IP tags as needed.

__call__(machine, plan_n_timesteps, placements)[source]
Parameters:
  • machine (Machine) – The machine with respect to which to partition the application graph
  • plan_n_timesteps (int) – number of timesteps to plan for
  • placements (Placements) –
Returns:

list of IP Tags, list of Reverse IP Tags, tag allocation holder

Return type:

tuple(list(IPTag), list(ReverseIPTag), Tags)