Skip to content

Commit eaa2e62

Browse files
committed
Fix check
1 parent aa0578c commit eaa2e62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cuda_bindings/cuda/bindings/_test_helpers/arch_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def hardware_supports_nvml():
1919
nvml.init_v2()
2020
try:
2121
nvml.system_get_driver_branch()
22-
except nvml.NotSupportedError:
22+
except (nvml.NotSupportedError, nvml.UnknownError):
2323
return False
2424
else:
2525
return True

0 commit comments

Comments
 (0)