diff --git a/test/test_array.py b/test/test_array.py index deb6ac28f9e1b798dc04a990abe7b5fb5039baed..f665c910e1b7eea130b14820c1e4df44b4519d71 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)