diff options
| author | Kal0s-design <356578040+Kal0s-design@users.noreply.github.com> | 2026-11-30 13:24:41 +0100 |
|---|---|---|
| committer | Kal0s-design <356578040+Kal0s-design@users.noreply.github.com> | 2026-12-02 14:31:19 +0100 |
| commit | 8aee5f04387af7ce5e0df23b895f61a54067a3d1 (patch) | |
| tree | a4904c8e8871a0debfb9f0a5267bbccc2a726b02 /runtime/test/cpp_unwind_test.cpp | |
| parent | 128648cfec1c4cbca2b35dc8736d394bb88f2f1b (diff) | |
d3d12: write the pipeline book before a host GPU failure ends the run
host_gpu_failed logs the failure and terminates the process at once,
while the pipeline book (LEONIDA_PIPELINE_BOOK=1) is written only by a
thread that wakes every two seconds. The pipelines noted in the last
seconds before a device loss were lost, and those are the ones the next
run needs most.
The book's thread now takes requests too: flush_on_gpu_failure asks it
to write and waits a quarter of a second at most. The failing thread
takes no lock of the book itself (it may hold one the write needs), so a
stalled write cannot keep the process from ending.
After Yoshi-233's fix in TaynanGT/Vice-Tay (33439c8), suggested by
sharan104.
Co-Authored-By: Yoshi-233 <76078963+Yoshi-233@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions