From ca7aa6c15597779a4ea1027460813620aa88ff3c Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Thu, 25 Jan 2024 16:08:58 +0100 Subject: [PATCH] requires_gpu --- .../feature_tests/ffront_tests/ffront_test_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/next_tests/integration_tests/feature_tests/ffront_tests/ffront_test_utils.py b/tests/next_tests/integration_tests/feature_tests/ffront_tests/ffront_test_utils.py index ed8c91e41c..00be56ab91 100644 --- a/tests/next_tests/integration_tests/feature_tests/ffront_tests/ffront_test_utils.py +++ b/tests/next_tests/integration_tests/feature_tests/ffront_tests/ffront_test_utils.py @@ -64,7 +64,9 @@ def no_backend(program: itir.FencilDefinition, *args: Any, **kwargs: Any) -> Non ), # will use the default (embedded) execution, but input/output allocated with the provided allocator next_tests.definitions.AllocatorId.CPU_ALLOCATOR, - next_tests.definitions.AllocatorId.GPU_ALLOCATOR, + pytest.param( + next_tests.definitions.AllocatorId.GPU_ALLOCATOR, marks=pytest.mark.requires_gpu + ), ] + OPTIONAL_PROCESSORS, ids=lambda p: p.short_id() if p is not None else "None",