Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cuda_core/tests/system/test_system_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ def test_module_id():


def test_addressing_mode():
if system.get_kernel_mode_driver_version()[0] < 580:
pytest.skip("nvmlDeviceGetAddressingMode requires an R580+ kernel-mode driver")

for device in system.Device.get_all_devices():
# By docs, should be supported on TURING or newer, but experimentally,
# is also unsupported on other hardware.
Expand All @@ -458,6 +461,9 @@ def test_display_mode():


def test_repair_status():
if system.get_kernel_mode_driver_version()[0] < 580:
pytest.skip("nvmlDeviceGetRepairStatus requires an R580+ kernel-mode driver")

for device in system.Device.get_all_devices():
# By docs, should be supported on AMPERE or newer, but experimentally,
# this seems to also work on some TURING systems.
Expand Down
Loading