Skip to content

Commit

Permalink
Merge pull request #392 from SpiNNakerManchester/split_processors
Browse files Browse the repository at this point in the history
Split processors into monitor and user
  • Loading branch information
rowleya authored Mar 5, 2024
2 parents 73b550c + 359f0aa commit 8417a6b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions spinnman/transceiver/base_transceiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,8 @@ def get_cpu_infos(
if core_subsets is None:
core_subsets = CoreSubsets()
for chip in SpiNNManDataView.get_machine().chips:
for processor in chip.processors:
core_subsets.add_processor(
chip.x, chip.y, processor.processor_id)
for p in chip.all_processor_ids:
core_subsets.add_processor(chip.x, chip.y, p)

if states is None:
process = GetCPUInfoProcess(self._scamp_connection_selector)
Expand Down Expand Up @@ -805,9 +804,8 @@ def get_iobuf(self, core_subsets: Optional[CoreSubsets] = None
if core_subsets is None:
core_subsets = CoreSubsets()
for chip in SpiNNManDataView.get_machine().chips:
for processor in chip.processors:
core_subsets.add_processor(
chip.x, chip.y, processor.processor_id)
for p in chip.all_processor_ids:
core_subsets.add_processor(chip.x, chip.y, p)

# read iobuf from machine
process = ReadIOBufProcess(self._scamp_connection_selector)
Expand Down

0 comments on commit 8417a6b

Please sign in to comment.