Skip to content

Commit aedcd23

Browse files
committed
Fix lib -> loaded_dl
1 parent cc44883 commit aedcd23

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cuda_bindings/cuda/bindings/cyruntime.pyx.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,9 +1899,9 @@ cdef cudaError_t getLocalRuntimeVersion(int* runtimeVersion) except ?cudaErrorCa
18991899
with gil:
19001900
loaded_dl = load_nvidia_dynamic_lib("cudart")
19011901
{{if 'Windows' == platform.system()}}
1902-
handle = <uintptr_t>lib._handle_uint
1902+
handle = <uintptr_t>loaded_dl._handle_uint
19031903
{{else}}
1904-
handle = <void *><uintptr_t>lib._handle_uint
1904+
handle = <void *><uintptr_t>loaded_dl._handle_uint
19051905
{{endif}}
19061906

19071907
{{if 'Windows' == platform.system()}}

0 commit comments

Comments
 (0)