Skip to content

Commit 2459e09

Browse files
committed
fixes
1 parent 66a50b7 commit 2459e09

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

cuda_bindings/cuda/bindings/_internal/cufile_linux.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ cdef int _check_or_init_cufile() except -1 nogil:
8585
cdef int err, driver_ver = 0
8686
with gil, __symbol_lock:
8787
# Load driver to check version
88-
cdef void* handle = NULL
8988
handle = dlopen('libcuda.so.1', RTLD_NOW | RTLD_GLOBAL)
9089
if handle == NULL:
9190
err_msg = dlerror()

cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ cdef int _check_or_init_nvjitlink() except -1 nogil:
6767
cdef int err, driver_ver = 0
6868
with gil, __symbol_lock:
6969
# Load driver to check version
70-
cdef void* handle = NULL
7170
handle = dlopen('libcuda.so.1', RTLD_NOW | RTLD_GLOBAL)
7271
if handle == NULL:
7372
err_msg = dlerror()

cuda_bindings/cuda/bindings/_internal/nvvm_linux.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ cdef int _check_or_init_nvvm() except -1 nogil:
6666
cdef int err, driver_ver = 0
6767
with gil, __symbol_lock:
6868
# Load driver to check version
69-
cdef void* handle = NULL
7069
handle = dlopen('libcuda.so.1', RTLD_NOW | RTLD_GLOBAL)
7170
if handle == NULL:
7271
err_msg = dlerror()

0 commit comments

Comments
 (0)