From 9f997dab886db22edcfa5fa11caa7d1917bc982f Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 25 Feb 2021 17:20:52 -0600 Subject: [PATCH] xfail test_zero_size_array on Intel CL --- test/test_array.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_array.py b/test/test_array.py index deb6ac28..f665c910 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" and size == 0): + 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) -- GitLab