upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/code_hooks_test.cpp
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-27 09:03:28 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-27 09:03:28 +0100
commit76099a22f67fe48bf478a6b9bf87139091b39979 (patch)
treee8a723874d1f86c5c798ba41094b0c91c38419a9 /runtime/test/code_hooks_test.cpp
parentd1dff7949be62b6609c3c2ca937df7f50fbf1305 (diff)
d3d12: LEONIDA_ASYNC_MIN_BYTES, only large pipelines asynchronous (RT-ASYNC-LARGE-ONLY)
With LEONIDA_ASYNC_PIPELINES=1 every pipeline not built yet has its draws and dispatches skipped, the small lighting and post programs too, so the world phase stays black while anything compiles; with it off a submission waits minutes for each large ray-tracing compute program. LEONIDA_ASYNC_MIN_BYTES=<n> (with async on): a pipeline under n bytes of SPIR-V (compute: its module; graphics: all its stages) takes the path of async off: no record-time request, PipelineCompiles builds it at prepare, and a compile-helper build waits for its file. One of n bytes or more stays asynchronous. Decided once per pipeline at create (async_build). Unset, 0 or not a number: every pipeline asynchronous, as before. Tests: async_pipeline_size_test (parsing and decision); d3d12_m4_compute --async-small-waits (both pipelines under the threshold, compile worker held: no job reaches it and every word matches). Docs: runtime/README.md row, docs/d3d12_vulkan.md, docs/running.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions