Skip to content

Commit 5ec3c5e

Browse files
committed
Minor fix
1 parent 5125b15 commit 5ec3c5e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cuda_core/tests/example_tests/test_basic_examples.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ def cffi_installed():
4343

4444

4545
def has_compute_capability_9_or_higher():
46-
dev = Device()
47-
arch = dev.compute_capability
48-
return arch > (9, 0)
46+
return Device().compute_capability >= (9, 0)
4947

5048

5149
def has_multiple_devices():

0 commit comments

Comments
 (0)