File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1515NBYTES = 64
1616
1717
18+ @pytest .mark .skipif (Device ().compute_capability .major < 7 , reason = "__nanosleep is only available starting Volta (sm70)" )
1819class TestEventIpc :
1920 """Check the basic usage of IPC-enabled events with a latch kernel."""
2021
Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+ # SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22# SPDX-License-Identifier: Apache-2.0
33
44
@@ -21,6 +21,7 @@ def test_event_init_disabled():
2121 cuda .core ._event .Event () # Ensure back door is locked.
2222
2323
24+ @pytest .mark .skipif (Device ().compute_capability .major < 7 , reason = "__nanosleep is only available starting Volta (sm70)" )
2425def test_timing_success (init_cuda ):
2526 options = EventOptions (enable_timing = True )
2627 device = Device ()
@@ -117,6 +118,7 @@ def test_error_timing_recorded():
117118 event3 - event2
118119
119120
121+ @pytest .mark .skipif (Device ().compute_capability .major < 7 , reason = "__nanosleep is only available starting Volta (sm70)" )
120122def test_error_timing_incomplete ():
121123 device = Device ()
122124 device .set_current ()
Original file line number Diff line number Diff line change 1- # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+ # SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22#
33# SPDX-License-Identifier: Apache-2.0
44
1717NBYTES = 64
1818
1919
20+ @pytest .mark .skipif (Device ().compute_capability .major < 7 , reason = "__nanosleep is only available starting Volta (sm70)" )
2021def test_latchkernel ():
2122 """Test LatchKernel."""
2223 log = TimestampedLogger (enabled = ENABLE_LOGGING )
You can’t perform that action at this time.
0 commit comments