upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-26 23:13:26 +0100
committerOreoFR <29048345+OreoFR@users.noreply.github.com>2026-11-26 23:13:26 +0100
commitb882b245fbc905dbf8a0154e4934c4d1bf3251f9 (patch)
treeb443bfd197159b52e9fc42f7c9a5d9237672b7be /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent62be3fa1898ffdb80e0ea0ea6a7e6a0be2af3b94 (diff)
compile gate: adaptive by default, off once submissions come back quickly with a create in the driver
With the bounded wait, the three submissions that went ahead on NVIDIA 621.40 came back from the driver in 11, 1 and 0 ms with the create still there, but consecutive long creates made submissions wait the full 15 s again and the title's watchdog still ended the run. Every submission that enters the driver next to a create the gate went past at the limit is now a probe. Two that come back in under 250 ms, at least 1 s apart, with that create still in the driver turn the gate off for the rest of the run; one that stays 2 s or more keeps it on. Both verdicts are logged once. Two probes a second apart, because on 630.20 back-to-back creates take and release the driver's lock and one submission could slip in between; the second costs no extra wait. LEONIDA_COMPILE_GATE=1 gates always without probing (and compute builds keep holding the submit lock), =0 has no gate. The README row now says what =1 does again. Tested: submit_mutex (new gate_adapts case; also under LEONIDA_COMPILE_GATE=1 and =0), MSVC, Windows 11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions