diff --git a/test/test_algorithm.py b/test/test_algorithm.py index 676aee379272ede7352d26e3bd81ebfc7f5686f9..f5cf06bb2ee7a65d26ef7d7781a733a9f8f41c2c 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 diff --git a/test/test_array.py b/test/test_array.py index deb6ac28f9e1b798dc04a990abe7b5fb5039baed..eeb55ff72edf36fa76388c8d5eb3e3db1763ad94 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -1488,6 +1488,9 @@ def test_zero_size_array(ctx_factory, empty_shape): context = ctx_factory() queue = cl.CommandQueue(context) + if queue.device.platform.name == "Intel(R) OpenCL": + pytest.xfail("size-0 arrays fail on Intel CL") + a = cl_array.zeros(queue, empty_shape, dtype=np.float32) b = cl_array.zeros(queue, empty_shape, dtype=np.float32) b.fill(1)