upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-25 13:42:21 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-11-25 15:11:11 +0100
commitaa8018b7ff164efff848666c3c4205a60adbbed5 (patch)
tree67b616988a201dfa9241f5c8e5c3f2e2f0908d96 /runtime/src/main.cpp
parent4aa21d1a83f4a7954ca79111fffb0d4aba674bf2 (diff)
d3d12: large pipelines compile side by side within a memory budget (RT-BIG-COMPUTE-BUDGET)
Compute modules over 128 KiB and graphics pipelines of 1 MiB of SPIR-V or more wait at one gate for the process until their estimates fit the memory that is free, instead of one at a time. PipelineCompiles::build gives a submission as many lanes for them as can be in at once, largest first, and fills the rest with small ones. A thread that waits for its place holds no PSO's lock, and one that has a place waits for none. The warm-up's compiles are speculative. LEONIDA_SERIAL_BIG_COMPILES=1 keeps one at a time, 0 has no limit, LEONIDA_BIG_COMPILE_BUDGET_MB fixes the budget.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions