From 24f52f21a1c517e370af674af0c971606a542396 Mon Sep 17 00:00:00 2001 From: Stephan Seitz <stephan.seitz@fau.de> Date: Wed, 22 Jan 2020 15:44:53 +0100 Subject: [PATCH] Let's not fake that we test gpu execution here --- pystencils_tests/test_interpolation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pystencils_tests/test_interpolation.py b/pystencils_tests/test_interpolation.py index 948c63748..b35427f51 100644 --- a/pystencils_tests/test_interpolation.py +++ b/pystencils_tests/test_interpolation.py @@ -211,7 +211,7 @@ def test_rotate_interpolation_size_change(address_mode): @pytest.mark.parametrize('address_mode, target', - itertools.product(['border', 'wrap', 'clamp', 'mirror'], ['cpu', 'gpu'])) + itertools.product(['border', 'wrap', 'clamp', 'mirror'], ['cpu'])) def test_field_interpolated(address_mode, target): x_f, y_f = pystencils.fields('x,y: float64 [2d]') @@ -219,7 +219,7 @@ def test_field_interpolated(address_mode, target): y_f.center(): x_f.interpolated_access([0.5 * x_ + 2.7, 0.25 * y_ + 7.2], address_mode=address_mode) }) print(assignments) - ast = pystencils.create_kernel(assignments) + ast = pystencils.create_kernel(assignments, target=target) print(ast) pystencils.show_code(ast) kernel = ast.compile() -- GitLab