Skip to content

Commit 8daac0e

Browse files
Update cuda_core/tests/test_device.py
Co-authored-by: Leo Fang <[email protected]>
1 parent c3e9927 commit 8daac0e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cuda_core/tests/test_device.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@
77
# is strictly prohibited.
88

99
try:
10-
from cuda.bindings import driver
10+
from cuda.bindings import driver, runtime
1111
except ImportError:
1212
from cuda import cuda as driver
13-
14-
try:
15-
from cuda.bindings import runtime
16-
except ImportError:
1713
from cuda import cudart as runtime
1814

1915
from cuda.core.experimental import Device

0 commit comments

Comments
 (0)