Skip to content

Commit

Permalink
Don't give these n_atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Jul 5, 2021
1 parent 1e724cf commit 6a61243
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pacman/model/graphs/application/application_fpga_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

from .application_vertex import ApplicationVertex
from pacman.exceptions import PacmanInvalidParameterException
from spinn_utilities.overrides import overrides
from spinn_utilities.abstract_base import abstractmethod


Expand All @@ -24,18 +23,16 @@ class ApplicationFPGAVertex(ApplicationVertex):
"""

__slots__ = [
"_n_atoms",
"_incoming_fpga_connections",
"_outgoing_fpga_connection",
"_n_machine_vertices_per_link"]

def __init__(
self, n_atoms, incoming_fpga_connections=None,
self, incoming_fpga_connections=None,
outgoing_fpga_connection=None, label=None, constraints=None,
n_machine_vertices_per_link=1):
"""
:param int n_atoms: The number of atoms in the vertex
:param incoming_fpga_connections:
The connections from one or more FPGAs that that packets are
expected to be received from for this device, or None if no
Expand All @@ -54,7 +51,6 @@ def __init__(
link (1 by default)
"""
super().__init__(label=label, constraints=constraints)
self._n_atoms = n_atoms
self._incoming_fpga_connections = incoming_fpga_connections
self._outgoing_fpga_connection = outgoing_fpga_connection
self._n_machine_vertices_per_link = n_machine_vertices_per_link
Expand All @@ -66,11 +62,6 @@ def __init__(
"The outgoing connection must have a specific FPGA ID and "
"link ID")

@property
@overrides(ApplicationVertex.n_atoms)
def n_atoms(self):
return self._n_atoms

@property
def n_machine_vertices_per_link(self):
""" The number of machine vertices to create for each link of the FPGA
Expand Down

0 comments on commit 6a61243

Please sign in to comment.