Skip to content

Commit 9652cea

Browse files
committed
Simplify further
1 parent 6ccfeb0 commit 9652cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_core/cuda/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def _import_versioned_module():
1010

1111
from cuda import bindings
1212

13-
cuda_major, _ = bindings.__version__.split(".")[:2]
13+
cuda_major = bindings.__version__.split(".")[0]
1414
if cuda_major not in ("12", "13"):
1515
raise ImportError("cuda.bindings 12.x or 13.x must be installed")
1616

0 commit comments

Comments
 (0)