From 684c60692a5cb1d78cce0b5aabfc3b13e7cd95d2 Mon Sep 17 00:00:00 2001 From: Saiyam Bharara Date: Thu, 29 Oct 2026 06:52:27 +0000 Subject: [PATCH] test(cuda.core): skip the event-wait timing check below sm70 Signed-off-by: Saiyam Bharara --- cuda_core/tests/graph/test_graph_node_update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cuda_core/tests/graph/test_graph_node_update.py b/cuda_core/tests/graph/test_graph_node_update.py index ed0fc545d51..3a3613b19ee 100644 --- a/cuda_core/tests/graph/test_graph_node_update.py +++ b/cuda_core/tests/graph/test_graph_node_update.py @@ -150,13 +150,15 @@ def _event_wait_case(device): invalid_replacement = device.create_event(options=event_options) invalid_replacement.close() after_wait = device.create_event(options=event_options) - delay = NanosleepKernel(device) graph_def = GraphDefinition() node = graph_def.wait(original) node.record(after_wait) def assert_exec_uses(graph, expected): + if device.compute_capability.major < 7: + pytest.skip("__nanosleep is only available starting Volta (sm70)") + delay = NanosleepKernel(device) producer_stream = device.create_stream() consumer_stream = device.create_stream()