We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ccfeb0 commit 9652ceaCopy full SHA for 9652cea
cuda_core/cuda/core/__init__.py
@@ -10,7 +10,7 @@ def _import_versioned_module():
10
11
from cuda import bindings
12
13
- cuda_major, _ = bindings.__version__.split(".")[:2]
+ cuda_major = bindings.__version__.split(".")[0]
14
if cuda_major not in ("12", "13"):
15
raise ImportError("cuda.bindings 12.x or 13.x must be installed")
16
0 commit comments