Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion spynnaker/pyNN/models/common/local_only_2d_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_rinfo_for_spike_source(
if n_cores == 1 or isinstance(pre_vertex, ApplicationVirtualVertex):
return r_info, 0, 0

mask_shift = r_info.n_bits_atoms
mask_shift = r_info.machine_shift
core_mask = (2 ** get_n_bits(n_cores)) - 1
return r_info, core_mask, mask_shift

Expand Down
2 changes: 1 addition & 1 deletion spynnaker/pyNN/models/neuron/synaptic_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def __get_app_key_and_mask(
n_atoms = 0
else:
# Find the part that is just for the core
mask_size = r_info.n_bits_atoms
mask_size = r_info.machine_shift
core_mask = (2 ** allocator_bits_needed(
len(r_info.vertex.splitter.get_out_going_vertices(
partition_id)))) - 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ write_compressed = True
write_compression_comparison = True
write_compression_summary = True
write_energy_report = False
write_router_info_report = True

[Mode]
mode = Production
4 changes: 2 additions & 2 deletions unittests/model_tests/neuron/test_synaptic_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_write_data_spec() -> None:
writer.add_edge(edge, part_id)
splitter_partitioner()
allocator = ZonedRoutingInfoAllocator()
writer.set_routing_infos(allocator.allocate([]))
writer.set_routing_infos(allocator.allocate())

post_vertex = next(iter(post_pop._vertex.machine_vertices))
post_vertex_slice = post_vertex.vertex_slice
Expand Down Expand Up @@ -466,7 +466,7 @@ def test_pop_based_master_pop_table_standard(
writer.add_edge(edge, part_id)
splitter_partitioner()
allocator = ZonedRoutingInfoAllocator()
writer.set_routing_infos(allocator.allocate([]))
writer.set_routing_infos(allocator.allocate())

post_mac_vertex = next(iter(post_pop._vertex.machine_vertices))
post_vertex_slice = post_mac_vertex.vertex_slice
Expand Down
Loading