diff options
| author | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-25 13:42:21 +0100 |
|---|---|---|
| committer | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-11-25 15:11:11 +0100 |
| commit | aa8018b7ff164efff848666c3c4205a60adbbed5 (patch) | |
| tree | 67b616988a201dfa9241f5c8e5c3f2e2f0908d96 /runtime/src/main.cpp | |
| parent | 4aa21d1a83f4a7954ca79111fffb0d4aba674bf2 (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