File tree Expand file tree Collapse file tree
cuda_bindings/cuda/bindings/_internal Expand file tree Collapse file tree Original file line number Diff line number Diff 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()
Original file line number Diff line number Diff 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()
Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments