We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebbe4b5 commit 044d173Copy full SHA for 044d173
cuda/_cuda/ccuda.pyx.in
@@ -427,7 +427,7 @@ cdef int cuPythonInit() nogil except -1:
427
{{if 'Windows' == platform.system()}}
428
path = 'nvcuda.dll'
429
{{else}}
430
- path = 'libcuda.so'
+ path = 'libcuda.so.1'
431
{{endif}}
432
433
@@ -439,7 +439,7 @@ cdef int cuPythonInit() nogil except -1:
439
440
handle = dlfcn.dlopen(bytes(path, encoding='utf-8'), dlfcn.RTLD_NOW)
441
if (handle == NULL):
442
- raise RuntimeError('Failed to dlopen libcuda.so')
+ raise RuntimeError('Failed to dlopen ' + path)
443
444
445
# Get latest __cuGetProcAddress
0 commit comments