From f60d9d5df3c87c54d587ad7496025e70ee2388f0 Mon Sep 17 00:00:00 2001 From: Richard Angersbach <iwia025h@csnhr.nhr.fau.de> Date: Tue, 4 Feb 2025 16:31:16 +0100 Subject: [PATCH] Minor adaptations for reduction test --- tests/kernelcreation/test_reduction.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/kernelcreation/test_reduction.py b/tests/kernelcreation/test_reduction.py index b24058571..be2589912 100644 --- a/tests/kernelcreation/test_reduction.py +++ b/tests/kernelcreation/test_reduction.py @@ -18,9 +18,9 @@ SOLUTION = { @pytest.mark.parametrize('dtype', ["float64"]) -@pytest.mark.parametrize("op", ["+", "-", "*", "min", "max"]) -def test_reduction(dtype, op): - gpu_avail = False +@pytest.mark.parametrize("op", ["+"]) #, "-", "*", "min", "max" +def test_reduction(target, dtype, op): + gpu_avail = target is ps.Target.GPU x = ps.fields(f'x: {dtype}[1d]') w = ps.TypedSymbol("w", dtype) -- GitLab