You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ctypes robustness sweep (a2baea9) — eight correctness and safeguard
improvements cross-checked against the Python ctypes reference documentation:
ABI size asserts for all graph param structs (cudaPos==24, cudaPitchedPtr==32, cudaExtent==24, cudaMemcpy3DParms==160) catch
layout drift at import time.
NumpyBuffers.close(): null self.buffer after free_host to prevent
use-after-free on the CUDA-pinned host-memory alias.
_log_dll_path: consume ctypes.get_last_error() on GetModuleFileNameW
failure; guard dll._handle with getattr for forward-compatibility.
_HighResTimer.__enter__: check timeBeginPeriod(1) return code; log on TIMERR_NOCANDO.
_winmm loader: removed unused use_last_error=True (winmm timer APIs
return status directly, not via GetLastError).
Removed dead cudaGetLastError argtypes binding; cudaPeekAtLastError is
the correct non-destructive sticky-error read.