Skip to content

Commit

Permalink
Update cuda_core/tests/test_device.py
Browse files Browse the repository at this point in the history
Co-authored-by: Leo Fang <leof@nvidia.com>
  • Loading branch information
ksimpson-work and leofang authored Nov 18, 2024
1 parent c3e9927 commit 8daac0e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cuda_core/tests/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@
# is strictly prohibited.

try:
from cuda.bindings import driver
from cuda.bindings import driver, runtime
except ImportError:
from cuda import cuda as driver

try:
from cuda.bindings import runtime
except ImportError:
from cuda import cudart as runtime

from cuda.core.experimental import Device
Expand Down

0 comments on commit 8daac0e

Please sign in to comment.