Skip to content

Commit

Permalink
Merge branch 'n_cores' into version2
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Apr 17, 2024
2 parents 605cc1a + cdec110 commit 008acdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spinn_machine/data/machine_data_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def set_machine_generator(self, machine_generator: Callable[[], None]):
raise TypeError("machine_generator must be callable")
self.__data._machine_generator = machine_generator

def add_monitor_core(self, all_cores: bool):
def add_monitor_core(self, all_chips: bool):
"""
Accepts a simple of the monitor cores to be added.
Expand All @@ -115,12 +115,12 @@ def add_monitor_core(self, all_cores: bool):
Only affect is to change the numbers reported by the
get_all/ethernet_monitor methods.
:param bool all_cores:
If True assumes that this Vertex will be placed on all cores
:param bool all_chips:
If True assumes that this Vertex will be placed on all chips
including Ethernet ones.
If False assumes that this Vertex type will only be placed on
Ethernet Vertices
"""
self.__data._ethernet_monitor_cores += 1
if all_cores:
if all_chips:
self.__data._all_monitor_cores += 1

0 comments on commit 008acdc

Please sign in to comment.