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:
authorshdann <28006689+shdann@users.noreply.github.com>2026-11-23 04:50:46 +0300
committershdann <28006689+shdann@users.noreply.github.com>2026-11-23 04:50:46 +0300
commita1ec0cbca988e31347f1ca81df8e53367b0798bf (patch)
tree031bd7969c9127f25370364a0c3d512b6005ac79 /runtime/test/vk_queue_query_sync_test.cpp
parent03b09a086592a197db64d91655c6e65c30764d96 (diff)
d3d12_xs: a proxied call writes no shared atomic after the first call of its slot
note_slot, note_heap_slot and note_child_slot did a fetch_add on the slot's hit counter and a compare_exchange_strong on its first-call flag for each proxied call. The compare-exchange takes the cache line for writing also when it fails, and the flags of all slots share one or two lines, so threads that call different slots slowed each other. The first-call flag is now read before the compare-exchange. The hit counters are test helpers: they count from the first call of a *_slot_hits reader or of reset_device_proxy_stats, so a title's calls do not write them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions