Skip to content

Commit

Permalink
Merge 2725172 into bba2ac6
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jun 11, 2019
2 parents bba2ac6 + 2725172 commit 67b91a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
8 changes: 1 addition & 7 deletions spinnaker_graph_front_end/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'add_vertex', 'add_machine_vertex', 'add_machine_vertex_instance',
'add_edge', 'add_application_edge_instance', 'add_machine_edge',
'add_machine_edge_instance', 'add_socket_address', 'get_txrx',
'get_machine_dimensions', 'has_ran', 'machine_time_step',
'has_ran', 'machine_time_step',
'get_number_of_available_cores_on_machine', 'no_machine_time_steps',
'timescale_factor', 'machine_graph', 'application_graph',
'routing_infos', 'placements', 'transceiver', 'graph_mapper',
Expand Down Expand Up @@ -322,12 +322,6 @@ def get_txrx():
return _sim().transceiver


def get_machine_dimensions():
""" Gets the x and y dimension of the machine.
"""
return _sim().get_machine_dimensions()


def get_number_of_available_cores_on_machine():
""" Gets the number of cores on this machine that are available to the\
simulation.
Expand Down
7 changes: 0 additions & 7 deletions spinnaker_graph_front_end/spinnaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ def __init__(
logger.info("Setting machine time step to {} micro-seconds."
.format(self._machine_time_step))

def get_machine_dimensions(self):
""" Get the machine dimensions.
"""
machine = self.machine

return {'x': machine.max_chip_x, 'y': machine.max_chip_y}

@property
def is_allocated_machine(self):
""" Is this an allocated machine? Otherwise, it is local.
Expand Down

0 comments on commit 67b91a3

Please sign in to comment.