From a2b8caecf56cf408b84bb49c1a7585f9d4b6ceb0 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Fri, 1 Mar 2024 15:15:40 +0000 Subject: [PATCH] split Chip processors between user and monitor --- spinnman/transceiver/base_transceiver.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/spinnman/transceiver/base_transceiver.py b/spinnman/transceiver/base_transceiver.py index bf2a20acc..af84ae8ed 100644 --- a/spinnman/transceiver/base_transceiver.py +++ b/spinnman/transceiver/base_transceiver.py @@ -708,9 +708,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) @@ -806,9 +805,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)