upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorqhukz13 <v.onashchuk@gmail.com>2026-11-25 23:24:42 +0200
committerqhukz13 <v.onashchuk@gmail.com>2026-11-25 23:24:42 +0200
commit6fd430ebc751e17bf2e29a560bc87c9b8d57e491 (patch)
tree9046983ff832990baa2f3e171b7ac9af130b37d6 /tests/test_run_gpu_tests_python_assembler.py
parentc09ee75c0e194554a8746ddbd558092f52e929c3 (diff)
d3d12: deliver a released title range to every device's geometry views
leonida::geometry_writes previously kept one process-wide release queue, so when two devices held GeometryViews over the same title range, the first device to call drain_released() emptied the queue and the second kept its view and charged bytes forever. Give each GeometryViews its own ReleaseQueue subscribed to leonida::geometry_writes on construction and unsubscribed on destruction. note_released() delivers each released range to every subscriber's queue under subscribers_mutex -> queue.mutex (keeping the 65536-entry collapse per queue), and take_released() drains only the caller's queue under queue.mutex. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions