Skip to content

Commit d67a293

Browse files
authored
Merge pull request NVIDIA#95 from robertmaynard/cuda-13-soname-updates
Cuda 13 soname updates
2 parents eaf66f2 + d760969 commit d67a293

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎cuda_bindings/cuda/bindings/_path_finder/supported_libs.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,12 @@
119119
"cublas": (
120120
"libcublas.so.11",
121121
"libcublas.so.12",
122+
"libcublas.so.13",
122123
),
123124
"cublasLt": (
124125
"libcublasLt.so.11",
125126
"libcublasLt.so.12",
127+
"libcublasLt.so.13",
126128
),
127129
"cudart": (
128130
"libcudart.so.11.0",
@@ -145,10 +147,12 @@
145147
"cusolver": (
146148
"libcusolver.so.10",
147149
"libcusolver.so.11",
150+
"libcusolver.so.12",
148151
),
149152
"cusolverMg": (
150153
"libcusolverMg.so.10",
151154
"libcusolverMg.so.11",
155+
"libcusolverMg.so.12",
152156
),
153157
"cusparse": (
154158
"libcusparse.so.11",
@@ -216,6 +220,7 @@
216220
"nvblas": (
217221
"libnvblas.so.11",
218222
"libnvblas.so.12",
223+
"libnvblas.so.13",
219224
),
220225
"nvfatbin": (
221226
"libnvfatbin.so.12",

‎cuda_bindings/cuda/bindings/cyruntime.pyx.in‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,16 +1896,16 @@ cdef cudaError_t getLocalRuntimeVersion(int* runtimeVersion) except ?cudaErrorCa
18961896
raise NotImplementedError('"getLocalRuntimeVersion" is unsupported on Windows')
18971897
{{else}}
18981898
# Load
1899-
handle = dlfcn.dlopen('libcudart.so.12', dlfcn.RTLD_NOW)
1899+
handle = dlfcn.dlopen('libcudart.so.13', dlfcn.RTLD_NOW)
19001900
if handle == NULL:
19011901
with gil:
1902-
raise RuntimeError(f'Failed to dlopen libcudart.so.12')
1902+
raise RuntimeError(f'Failed to dlopen libcudart.so.13')
19031903

19041904
__cudaRuntimeGetVersion = dlfcn.dlsym(handle, 'cudaRuntimeGetVersion')
19051905

19061906
if __cudaRuntimeGetVersion == NULL:
19071907
with gil:
1908-
raise RuntimeError(f'Function "cudaRuntimeGetVersion" not found in libcudart.so.12')
1908+
raise RuntimeError(f'Function "cudaRuntimeGetVersion" not found in libcudart.so.13')
19091909

19101910
# Call
19111911
cdef cudaError_t err = cudaSuccess

0 commit comments

Comments
 (0)