From e7f1c1cfec9d53b11bbc232f18992951d79f4e03 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 14 Sep 2020 23:05:37 -0500 Subject: [PATCH] Skip array/scalar division tests on Apple --- test/test_array.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_array.py b/test/test_array.py index d1777237..613d2ff7 100644 --- a/test/test_array.py +++ b/test/test_array.py @@ -479,6 +479,9 @@ def test_divide_scalar(ctx_factory): context = ctx_factory() queue = cl.CommandQueue(context) + if queue.device.platform.name == "Apple": + pytest.xfail("Apple CL compiler crashes on this.") + dtypes = (np.uint8, np.uint16, np.uint32, np.int8, np.int16, np.int32, np.float32, np.complex64) @@ -541,6 +544,9 @@ def test_divide_inplace_scalar(ctx_factory): context = ctx_factory() queue = cl.CommandQueue(context) + if queue.device.platform.name == "Apple": + pytest.xfail("Apple CL compiler crashes on this.") + dtypes = (np.uint8, np.uint16, np.uint32, np.int8, np.int16, np.int32, np.float32, np.complex64) -- GitLab