Skip to content

Commit 9c7f19d

Browse files
authored
test: skip LatchKernel event test without __nanosleep (#2611)
1 parent b448d2f commit 9c7f19d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cuda_core/tests/test_event.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ def test_event_ipc_descriptor_non_ipc(init_cuda):
222222
_ = event.ipc_descriptor
223223

224224

225+
@pytest.mark.skipif(Device().compute_capability.major < 7, reason="__nanosleep is only available starting Volta (sm70)")
225226
def test_event_is_done_false(init_cuda):
226227
"""Event.is_done returns False when captured work has not yet completed."""
227228
device = Device()

0 commit comments

Comments
 (0)