Skip to content
Snippets Groups Projects

Fix width-one iteration slices on GPU

Merged Frederik Hennig requested to merge da15siwa/pystencils:fix-gpu-islices into master
Viewing commit 6f69c7b3
Prev
Show latest version
1 file
+ 3
0
Preferences
Compare changes
@@ -16,6 +16,9 @@ from pystencils.simp import sympy_cse_on_assignment_list
@pytest.mark.parametrize("target", [Target.CPU, Target.GPU])
def test_sliced_iteration(target):
if target == Target.GPU:
pytest.importorskip("cupy")
size = (4, 4)
dh = create_data_handling(size, default_target=target, default_ghost_layers=0)