Skip to content
Snippets Groups Projects
Commit 6f69c7b3 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix new tests in absence of cupy

parent f1def888
1 merge request!422Fix width-one iteration slices on GPU
Pipeline #69870 passed with stages
in 32 minutes and 12 seconds
This commit is part of merge request !422. Comments created here will be created in the context of that merge request.
...@@ -16,6 +16,9 @@ from pystencils.simp import sympy_cse_on_assignment_list ...@@ -16,6 +16,9 @@ from pystencils.simp import sympy_cse_on_assignment_list
@pytest.mark.parametrize("target", [Target.CPU, Target.GPU]) @pytest.mark.parametrize("target", [Target.CPU, Target.GPU])
def test_sliced_iteration(target): def test_sliced_iteration(target):
if target == Target.GPU:
pytest.importorskip("cupy")
size = (4, 4) size = (4, 4)
dh = create_data_handling(size, default_target=target, default_ghost_layers=0) dh = create_data_handling(size, default_target=target, default_ghost_layers=0)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment