diff options
| author | Aslan2142 <jan.trencansky@protonmail.com> | 2026-11-26 13:52:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-26 13:52:02 +0100 |
| commit | 73516a2902a9872e4d21d1bdbbde4e26059497c5 (patch) | |
| tree | e80650b51385d94ea153cd8df97034383b0bcc03 /docs | |
| parent | a73a57e1339be072baf5522351c8ec7f1482b56b (diff) | |
| parent | 66e96ccea6ad25043f681f0a6485267280bc8070 (diff) | |
Merge pull request #1886 from DadaCap/session-cache-limit
Tested on main a73a57e13: Wine suite (clang-cl + xwin, RDNA2 iGPU, RADV) 412 pass / 22 fail / 39 skip on main and on main + #1886, 0 changes; Linux portable ctest 108/108; the new over_save_limit cases fail on main and pass here. Review points addressed in 66e96ccea. Windows CI cancelled; linux-gpu-tools CI failed at Build (log not available yet; the same job also fails on #1914, and it builds locally). AI-assisted (Claude Code, Claude Opus 5.5 review, Claude Fable 5.2).
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/d3d12_vulkan.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md index 43886af30..35dbd0f62 100644 --- a/docs/d3d12_vulkan.md +++ b/docs/d3d12_vulkan.md | |||
| @@ -2413,13 +2413,14 @@ Pipeline creation: | |||
| 2413 | merges into the offline seed. `LEONIDA_DIRECT_SESSION_CACHE=0` also uses a merge when only the session exists. | 2413 | merges into the offline seed. `LEONIDA_DIRECT_SESSION_CACHE=0` also uses a merge when only the session exists. |
| 2414 | The files must match the Vulkan vendor, device and pipeline-cache UUID. Vulkan supplies an opaque snapshot. | 2414 | The files must match the Vulkan vendor, device and pipeline-cache UUID. Vulkan supplies an opaque snapshot. |
| 2415 | Replacing part of the previous file would corrupt it. | 2415 | Replacing part of the previous file would corrupt it. |
| 2416 | `LEONIDA_PIPELINE_CACHE_BYTES` caps session writes (256 MiB by default, zero disables the session file). | 2416 | `LEONIDA_PIPELINE_CACHE_BYTES` caps what a session adds, at a checkpoint or at teardown (an offline `pipeline_cache.bin` seed, which the driver hands back as part of the union, is not counted; 4 GiB by default, zero disables |
| 2417 | the session file). | ||
| 2417 | `LEONIDA_SKIP_COMPUTE=<part of a name>[,<part>...]` (`all`: every compute program) never builds the matching | 2418 | `LEONIDA_SKIP_COMPUTE=<part of a name>[,<part>...]` (`all`: every compute program) never builds the matching |
| 2418 | compute programs and drops their dispatches, direct and indirect; the first dropped dispatch of each is logged. | 2419 | compute programs and drops their dispatches, direct and indirect; the first dropped dispatch of each is logged. |
| 2419 | It is a way past a program that hangs the GPU while the program or its input is fixed, not a fix. | 2420 | It is a way past a program that hangs the GPU while the program or its input is fixed, not a fix. |
| 2420 | `LEONIDA_STARTUP_CACHE_CHECKPOINTS=1` also schedules a snapshot after a successful pipeline build, | 2421 | `LEONIDA_STARTUP_CACHE_CHECKPOINTS=1` also schedules a snapshot after a successful pipeline build, |
| 2421 | at most once per 120 seconds. It starts on the compile worker when queued builds have drained and the device | 2422 | at most once per 120 seconds. It starts on the compile worker when queued builds have drained and the device |
| 2422 | has no active builds. These snapshots have an additional 512 MiB ceiling. The driver fills a mapped staging | 2423 | has no active builds. The driver fills a mapped staging |
| 2423 | file directly. A successful snapshot atomically replaces the session. An interrupted write preserves the | 2424 | file directly. A successful snapshot atomically replaces the session. An interrupted write preserves the |
| 2424 | previous cache; the next launch removes unheld staging files older than ten minutes. | 2425 | previous cache; the next launch removes unheld staging files older than ten minutes. |
| 2425 | While the compute warm-up has builds queued that idle checkpoint never starts, and a boot that ends by a crash, | 2426 | While the compute warm-up has builds queued that idle checkpoint never starts, and a boot that ends by a crash, |