Files
leleka/crates
Pavlo RatushnyiandClaude Sonnet 5.5 3d9af8a0eb fix(cuda-driver): store-buffering races in the expert stager stop and MMQ host-stage finish, bound host-stage wait
stop/finish stored 'head' then loaded 'active' while a worker raised 'active' then claimed from 'head'; on x86 the
fence could return while a worker still copied from a source the caller then released. SeqCst on the four accesses.
HostStage::finish also let a helper waiting on 'released' overwrite a ring buffer still being read (re-check head after
the wait), and wait() now refuses a length beyond the bytes the job copied (page-locked buffers are uninitialised).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 02:01:04 +02:00
..