Skip to content

Commit bebad2c

Browse files
committed
Try to fix Windows build
1 parent 8c51fb5 commit bebad2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cuda_bindings/cuda/bindings/cyruntime.pyx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1902,7 +1902,7 @@ cdef cudaError_t getLocalRuntimeVersion(int* runtimeVersion) except ?cudaErrorCa
19021902

19031903
{{if 'Windows' == platform.system()}}
19041904
try:
1905-
__cudaRuntimeGetVersion = <void*><unsigned long long>win32api.GetProcAddress(handle, 'cudaRuntimeGetVersion')
1905+
__cudaRuntimeGetVersion = <void*><unsigned long long>win32api.GetProcAddress(<uintptr_t>handle, 'cudaRuntimeGetVersion')
19061906
except:
19071907
pass
19081908
{{else}}

0 commit comments

Comments
 (0)