- libc-shim/cuda_trace.rs: under LELEKA_BRINGUP_TRACE the Windows dlsym returns wrappers for the launch, copy, event and
synchronization entries of nvcuda. Every non-zero return prints the operation, the code, cuGetErrorName/String and the
operations queued since the last successful synchronization of the stream (kernel names, grid, block, shared bytes).
Nothing blocks; LELEKA_CUDA_TRACE_SYNC / LELEKA_CUDA_TRACE_CALLBACKS add a per-launch synchronization or completion
callbacks, only while the prompt forward runs (PromptSyncTrace).
- the nine driver_error helpers print under LELEKA_BRINGUP_TRACE as well (operation and code instead of the class only).
- LELEKA_STAGE_VERIFY: compare every staged expert buffer with its file bytes before the buffer is released.
- docs/windows.md: what failed (nvlddmkm Xid 13, Out Of Range Address, same PC), what is ruled out, next experiment.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>