From 68b367cf071ee811b1490c8c81f2fdf7623673b2 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 25 Feb 2021 16:51:45 -0600 Subject: [PATCH] Add xfail for size-0 bitonic sort on Intel --- test/test_algorithm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_algorithm.py b/test/test_algorithm.py index 676aee37..f5cf06bb 100644 --- a/test/test_algorithm.py +++ b/test/test_algorithm.py @@ -1104,6 +1104,8 @@ def test_bitonic_argsort(ctx_factory, size, dtype): and dtype == np.float64 and get_pocl_version(dev.platform) < (1, 0)): pytest.xfail("Double precision bitonic sort doesn't work on POCL < 1.0") + if (dev.platform.name == "Intel(R) OpenCL" and size == 0): + pytest.xfail("size-0 arange fails on Intel CL") if dtype == np.float64 and not has_double_support(dev): from pytest import skip -- GitLab