Skip to content
Snippets Groups Projects
Commit a5ff1d0d authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Skip test_struct_reduce on Apple+Nvidia

parent 72e50ff5
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,8 @@ import pytools.test ...@@ -29,6 +29,8 @@ import pytools.test
from pytools import memoize from pytools import memoize
from test_array import general_clrand from test_array import general_clrand
import pytest
import pyopencl as cl import pyopencl as cl
import pyopencl.array as cl_array # noqa import pyopencl.array as cl_array # noqa
from pyopencl.tools import pytest_generate_tests_for_pyopencl \ from pyopencl.tools import pytest_generate_tests_for_pyopencl \
...@@ -366,12 +368,16 @@ def make_mmc_dtype(device): ...@@ -366,12 +368,16 @@ def make_mmc_dtype(device):
@pytools.test.mark_test.opencl @pytools.test.mark_test.opencl
def test_struct_reduce(ctx_factory): def test_struct_reduce(ctx_factory):
from pytest import importorskip pytest.importorskip("mako")
importorskip("mako")
context = ctx_factory() context = ctx_factory()
queue = cl.CommandQueue(context) queue = cl.CommandQueue(context)
dev, = context.devices
if (dev.vendor == "NVIDIA" and dev.platform.vendor == "Apple"
and dev.driver_version == "8.12.47 310.40.00.05f01"):
pytest.skip("causes a compiler hang on Apple/Nv GPU")
mmc_dtype, mmc_c_decl = make_mmc_dtype(context.devices[0]) mmc_dtype, mmc_c_decl = make_mmc_dtype(context.devices[0])
preamble = mmc_c_decl + r"""//CL// preamble = mmc_c_decl + r"""//CL//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment