Skip to content
Snippets Groups Projects
Commit cd7ead9a authored by Markus Holzer's avatar Markus Holzer
Browse files

Added HotFix

parent 99c3db9b
No related branches found
No related tags found
1 merge request!141Regression comm
...@@ -135,7 +135,9 @@ def get_communication_slices( ...@@ -135,7 +135,9 @@ def get_communication_slices(
write_offsets = numeric_offsets(write_accesses[d]) write_offsets = numeric_offsets(write_accesses[d])
tangential_dir = tuple(s - c for s, c in zip(streaming_dir, comm_dir)) tangential_dir = tuple(s - c for s, c in zip(streaming_dir, comm_dir))
src_slice = shift_slice(_trim_slice_in_direction(src_slice, tangential_dir), write_offsets)
if streaming_pattern != "pull":
src_slice = shift_slice(_trim_slice_in_direction(src_slice, tangential_dir), write_offsets)
neighbour_transform = _get_neighbour_transform(comm_dir, ghost_layers) neighbour_transform = _get_neighbour_transform(comm_dir, ghost_layers)
dst_slice = shift_slice(src_slice, neighbour_transform) dst_slice = shift_slice(src_slice, neighbour_transform)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment