upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-30 16:09:04 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-30 16:09:04 -0500
commit4c51c01bf103fb492e51ce43686ee315da9a46fb (patch)
tree09c8fbd419bf6008c4e5f2937d8938737d2a8106 /runtime/test/queue_proxy_test.cpp
parent8890c454aa91cb65e51a25baae2e167ea3015dda (diff)
Refreshes that cross a flight's writes through another copy, mended on the card
Two host copies can hold the same title memory: a big buffer the title draws from (a ring of 4 MiB) and a small one inside it that a compute pass writes. A submission prepared while a flight writes the small one's card side refreshed the big one from title memory as it was before the flight, and its draws read those bytes: a frame of old vertices or records under whatever moves (the torn cars and people voidopcode/vilocity ccb27fd traced to the merge under flights' writes, whose settling lands the flights first as a side effect). The up-copy check counted some 280 such refreshes a second standing (run d254). Now (LEONIDA_CROSS_COPY, on; 0 off; LEONIDA_AB can name it) the bytes of a refreshed range whose last writer among the flights in the air or being landed is another copy go from that copy's card side to the refreshed one's, in a list of their own behind the submission's sends; the writers' card sides take the title's changes there first (Shadow::merge_under_writes), and where that cannot be done the flights are settled as before. Copies in the PC's memory, and a copy both read and written by one submission's crossings, are left alone and counted. The frame-rate line says how many. AI-assisted (Claude). Tested on RTX 4060 Ti 16 GB, driver 616.64: cargo check of leonida-gpu with and without diagnostics; host::cross::tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions