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:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-01 04:56:34 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-12-01 04:56:34 +0100
commita59fe074029887b6d6768030ed2e6212bbcfad49 (patch)
tree2de402c94f67fb7b2c8d4a9ac7ed6c822752460d /tests/test_run_gpu_tests_python_assembler.py
parent90c514437fe9ee17a8bf10e792b2361355c8e45a (diff)
gpu: the split list ahead's textures half runs on one thread kept for the run (LEONIDA_AHEAD_KEPT_THREAD, on)
With LEONIDA_AHEAD_SPLIT, record_ahead_split made a new OS thread with an 8 MiB stack every frame for the textures' half of the list ahead, chose the fast cores for it and logged a line, all on the path of the line's thread, which waits for that half (14,271 such lines in about 2.5 minutes of play on an RTX 4070 Laptop / Core Ultra 7 155H). One thread is now kept for it (queue::beside::Kept, made at the first split, pinned once); each frame's half is handed to it and waited for, with the same panic and fallback behaviour. LEONIDA_AHEAD_KEPT_THREAD=0 brings back the per-frame thread, and LEONIDA_AB can switch it. Measured with LEONIDA_AB every 10 s on that machine (18 steady phases a side): the line's thread stood 2.5 ms a frame for the list ahead with it, 5.2 ms without; the frame median moved 55.6 -> 54.4 ms, within its spread. switches.md regenerated (it also picks up two rows main had stale). 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