Skip to content

Commit 4180f37

Browse files
committed
Don't need gil
1 parent 349d16b commit 4180f37

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cuda_bindings/cuda/bindings/cyruntime.pyx.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1913,8 +1913,7 @@ cdef cudaError_t getLocalRuntimeVersion(int* runtimeVersion) except ?cudaErrorCa
19131913
err = (<cudaError_t (*)(int*) except ?cudaErrorCallRequiresNewerDriver nogil> __cudaRuntimeGetVersion)(runtimeVersion)
19141914

19151915
{{if 'Windows' != platform.system()}}
1916-
with gil:
1917-
dlfcn.dlclose(handle)
1916+
dlfcn.dlclose(handle)
19181917
{{endif}}
19191918

19201919
# Return

0 commit comments

Comments
 (0)