Skip to content

Commit

Permalink
Merge pull request #1326 from SpiNNakerManchester/move_ExecutableType
Browse files Browse the repository at this point in the history
from spinnman.model.enums import ExecutableType
  • Loading branch information
rowleya authored Apr 24, 2023
2 parents 54833f4 + e0c2c3c commit c31143e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

from spinn_utilities.overrides import overrides
from spinnman.model.enums import ExecutableType
from pacman.model.graphs.common import Slice
from pacman.model.graphs.machine import MachineVertex
from pacman.model.resources import ConstantSDRAM
Expand All @@ -25,7 +26,6 @@
from spinn_front_end_common.interface.simulation import simulation_utilities
from spinn_front_end_common.utilities.constants import (
SYSTEM_BYTES_REQUIREMENT, SIMULATION_N_BYTES, BYTES_PER_WORD)
from spinn_front_end_common.utilities.utility_objs import ExecutableType
from spynnaker.pyNN.data import SpynnakerDataView
from spynnaker.pyNN.exceptions import SpynnakerException

Expand Down
2 changes: 1 addition & 1 deletion spynnaker/pyNN/extra_algorithms/neuron_expander.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from spinn_utilities.progress_bar import ProgressBar
from spinn_front_end_common.utilities.system_control_logic import (
run_system_application)
from spinn_front_end_common.utilities.utility_objs import ExecutableType
from spinnman.model.enums import ExecutableType
from spinn_front_end_common.utilities.helpful_functions import (
write_address_to_user1)
from spinnman.model import ExecutableTargets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from spinn_utilities.config_holder import get_config_bool
from spinn_utilities.log import FormatAdapter
from spinnman.model import ExecutableTargets
from spinnman.model.enums import CPUState
from spinnman.model.enums import CPUState, ExecutableType
from spinn_front_end_common.interface.interface_functions.\
machine_bit_field_router_compressor import (
machine_bit_field_ordered_covering_compressor,
Expand All @@ -25,7 +25,6 @@
write_address_to_user1)
from spinn_front_end_common.utilities.system_control_logic import (
run_system_application)
from spinn_front_end_common.utilities.utility_objs import ExecutableType
from spynnaker.pyNN.data import SpynnakerDataView
from spynnaker.pyNN.models.abstract_models import (
AbstractSynapseExpandable, SYNAPSE_EXPANDER_APLX)
Expand Down
2 changes: 1 addition & 1 deletion spynnaker/pyNN/extra_algorithms/synapse_expander.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
from spinn_utilities.config_holder import get_config_bool
from spinn_utilities.log import FormatAdapter
from spinn_utilities.progress_bar import ProgressBar
from spinnman.model.enums import ExecutableType
from spinn_front_end_common.utilities.system_control_logic import (
run_system_application)
from spinn_front_end_common.utilities.utility_objs import ExecutableType
from spinnman.model import ExecutableTargets
from spinnman.model.enums import CPUState
from spynnaker.pyNN.data import SpynnakerDataView
Expand Down
2 changes: 1 addition & 1 deletion spynnaker/pyNN/models/neuron/population_machine_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.
from dataclasses import dataclass
from spinn_utilities.overrides import overrides
from spinnman.model.enums import ExecutableType
from pacman.model.graphs.machine import MachineVertex

from spinn_front_end_common.interface.provenance import (
Expand All @@ -30,7 +31,6 @@
from spinn_front_end_common.interface.simulation.simulation_utilities import (
get_simulation_header_array)

from spinn_front_end_common.utilities.utility_objs import ExecutableType
from spinn_front_end_common.interface.profiling import AbstractHasProfileData
from spinn_front_end_common.utilities.constants import SIMULATION_N_BYTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from enum import IntEnum
import numpy

from spinnman.model.enums import ExecutableType
from data_specification.enums import DataType
from spinn_front_end_common.interface.buffer_management import (
recording_utilities)
Expand All @@ -34,7 +35,6 @@
AbstractReceiveBuffersToHost)
from spinn_front_end_common.utilities.helpful_functions import (
locate_memory_region_for_placement)
from spinn_front_end_common.utilities.utility_objs import ExecutableType
from spinn_front_end_common.interface.profiling import (
AbstractHasProfileData, profile_utils)
from spinn_front_end_common.interface.profiling.profile_utils import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.
from enum import Enum, IntEnum

from spinnman.model.enums import ExecutableType
from spinn_front_end_common.interface.simulation import simulation_utilities
from spinn_front_end_common.utilities.constants import SIMULATION_N_BYTES
from spinn_utilities.overrides import overrides
Expand All @@ -21,7 +22,6 @@
ProvidesProvenanceDataFromMachineImpl, ProvenanceWriter)
from spinn_front_end_common.abstract_models import (
AbstractHasAssociatedBinary, AbstractGeneratesDataSpecification)
from spinn_front_end_common.utilities.utility_objs import ExecutableType
from spynnaker.pyNN.data import SpynnakerDataView
from spynnaker.pyNN.utilities.constants import SPIKE_PARTITION_ID

Expand Down

0 comments on commit c31143e

Please sign in to comment.