Skip to content

Commit

Permalink
Merge pull request #266 from SpiNNakerManchester/roc_part
Browse files Browse the repository at this point in the history
Changes for FrontEndCommon typing
  • Loading branch information
Christian-B committed Nov 10, 2023
2 parents d887779 + 70c0e4b commit fcd4695
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gfe_examples/live_io/live_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
from spinn_front_end_common.data.fec_data_view import FecDataView
from spinn_front_end_common.utilities.connections import LiveEventConnection
from spinn_front_end_common.utility_models import (
LivePacketGatherMachineVertex, ReverseIPTagMulticastSourceMachineVertex)
EIEIOParameters, LivePacketGatherMachineVertex,
ReverseIPTagMulticastSourceMachineVertex)
from spinn_front_end_common.utilities.utility_objs import (
LivePacketGatherParameters)
import spinnaker_graph_front_end as front_end
Expand Down Expand Up @@ -71,9 +72,10 @@ def receive(label, time, keys):
front_end.add_socket_address(None, None, conn.local_port)

# Add a sender
eieio_params = EIEIOParameters(injection_partition_id=sender_partition)
sender = ReverseIPTagMulticastSourceMachineVertex(
n_keys=n_sender_keys, label="Sender",
injection_partition_id=sender_partition)
eieio_params=eieio_params)
front_end.add_machine_vertex_instance(sender)

live_out = LivePacketGatherMachineVertex(
Expand Down

0 comments on commit fcd4695

Please sign in to comment.