Skip to content

Commit 684c606

Browse files
committed
test(cuda.core): skip the event-wait timing check below sm70
Signed-off-by: Saiyam Bharara <[email protected]>
1 parent 2803d30 commit 684c606

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎cuda_core/tests/graph/test_graph_node_update.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,15 @@ def _event_wait_case(device):
150150
invalid_replacement = device.create_event(options=event_options)
151151
invalid_replacement.close()
152152
after_wait = device.create_event(options=event_options)
153-
delay = NanosleepKernel(device)
154153

155154
graph_def = GraphDefinition()
156155
node = graph_def.wait(original)
157156
node.record(after_wait)
158157

159158
def assert_exec_uses(graph, expected):
159+
if device.compute_capability.major < 7:
160+
pytest.skip("__nanosleep is only available starting Volta (sm70)")
161+
delay = NanosleepKernel(device)
160162
producer_stream = device.create_stream()
161163
consumer_stream = device.create_stream()
162164

0 commit comments

Comments
 (0)