From 50ee7ae805cfffc93222a7a065a73b6430ce45ee Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 20 Jan 2021 15:22:42 -0600 Subject: [PATCH] Xfail test_array test_get_async on Pocl GPU --- test/test_array.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_array.py b/test/test_array.py index b4234a37..2821d923 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -1350,6 +1350,12 @@ def test_get_async(ctx_factory): context = ctx_factory() queue = cl.CommandQueue(context) + device = queue.device + if device.platform.vendor == "The pocl project" \ + and device.type & cl.device_type.GPU: + pytest.xfail("the async get test fails on POCL + Nvidia," + "at least the K40, as of pocl 1.6, 2021-01-20") + a = np.random.rand(10**6).astype(np.dtype("float32")) a_gpu = cl_array.to_device(queue, a) b = a + a**5 + 1 -- GitLab