Skip to content

Commit

Permalink
EIEIOParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 7, 2023
1 parent d887779 commit fd02fa1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 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,7 @@
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 +71,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 fd02fa1

Please sign in to comment.