diff options
| author | sds-228 <329233051+sds-228@users.noreply.github.com> | 2026-11-23 06:34:12 +0300 |
|---|---|---|
| committer | sds-228 <329233051+sds-228@users.noreply.github.com> | 2026-11-23 06:34:12 +0300 |
| commit | 047b789d7be5dc84f43282c065613156db24b903 (patch) | |
| tree | 548482d0e6e648ba6b0574bced8b344c1079e5d9 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | dea6c3835494cc97ea3ba4a0964850875a284edf (diff) | |
vulkan: make re-entrant cancel test independent of ready-batch timing
Case 6 assumed both fences were in one ready batch. The dispatcher may wake after the first signal, leaving B in pending_ when A calls cancel(B); in that case cancel() correctly runs B's callback before it returns. Assert the real contract instead: B must not run after cancel(B) returns, whether it was pending or already in a ready batch. Set the A-side flags in one lock scope so the waiter cannot see them half-updated. Red control on the parent source: 0/100 pass; fixed: 100/100 pass.
Shdann and Exopus independently reproduced the timing dependence; kapitche verified the fix on two GPUs.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions