Skip to content
Snippets Groups Projects
Unverified Commit d12e39dd authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Merge pull request #403 from inducer/skip-rectangular-copy-tests-on-apple

Skip rectangular copy tests on Apple
parents 108b5071 31a96823
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,9 @@ def test_enqueue_copy_rect_2d(ctx_factory, honor_skip=True): ...@@ -48,6 +48,9 @@ def test_enqueue_copy_rect_2d(ctx_factory, honor_skip=True):
# https://github.com/pocl/pocl/issues/353 # https://github.com/pocl/pocl/issues/353
pytest.skip("POCL's rectangular copies crash") pytest.skip("POCL's rectangular copies crash")
if honor_skip and queue.device.platform.name == "Apple":
pytest.skip("Apple's CL implementation crashes on this.")
ary_in_shp = 256, 128 # Entire array shape from which sub-array copied to device ary_in_shp = 256, 128 # Entire array shape from which sub-array copied to device
sub_ary_shp = 128, 96 # Sub-array shape to be copied to device sub_ary_shp = 128, 96 # Sub-array shape to be copied to device
ary_in_origin = 20, 13 # Sub-array origin ary_in_origin = 20, 13 # Sub-array origin
...@@ -135,6 +138,9 @@ def test_enqueue_copy_rect_3d(ctx_factory, honor_skip=True): ...@@ -135,6 +138,9 @@ def test_enqueue_copy_rect_3d(ctx_factory, honor_skip=True):
# https://github.com/pocl/pocl/issues/353 # https://github.com/pocl/pocl/issues/353
pytest.skip("POCL's rectangular copies crash") pytest.skip("POCL's rectangular copies crash")
if honor_skip and queue.device.platform.name == "Apple":
pytest.skip("Apple's CL implementation crashes on this.")
ary_in_shp = 256, 128, 31 # array shape from which sub-array copied to device ary_in_shp = 256, 128, 31 # array shape from which sub-array copied to device
sub_ary_shp = 128, 96, 20 # Sub-array shape to be copied to device sub_ary_shp = 128, 96, 20 # Sub-array shape to be copied to device
ary_in_origin = 20, 13, 7 # Sub-array origin ary_in_origin = 20, 13, 7 # Sub-array origin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment