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

Skip test_enqueue_barrier_marker in old-header situations

parent 81eb96ca
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -632,7 +632,13 @@ def test_enqueue_barrier_marker(ctx_factory):
# Still relevant on pocl 1.0RC1.
_skip_if_pocl(
ctx.devices[0].platform, (1, 0), 'pocl crashes on enqueue_barrier')
queue = cl.CommandQueue(ctx)
if queue._get_cl_version() >= (1, 2) and cl.get_cl_header_version() <= (1, 1):
pytest.skip("CL impl version >= 1.2, header version <= 1.1--cannot be sure "
"that clEnqueueWaitForEvents is implemented")
cl.enqueue_barrier(queue)
evt1 = cl.enqueue_marker(queue)
evt2 = cl.enqueue_marker(queue, wait_for=[evt1])
......
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