upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorsds-228 <329233051+sds-228@users.noreply.github.com>2026-11-23 06:34:12 +0300
committersds-228 <329233051+sds-228@users.noreply.github.com>2026-11-23 06:34:12 +0300
commit047b789d7be5dc84f43282c065613156db24b903 (patch)
tree548482d0e6e648ba6b0574bced8b344c1079e5d9 /runtime/test/vk_queue_query_sync_test.cpp
parentdea6c3835494cc97ea3ba4a0964850875a284edf (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