Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for FrontEndCommon typing #266

Merged
merged 2 commits into from
Nov 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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