diff --git a/test/test_array.py b/test/test_array.py index d17772375a64f9d236568bef72005637e95d181a..613d2ff72cf06b17e33b6a2b15faf72bc711c3df 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)