Repository navigation
Conversation
|
Tested Exact I ran
2 passed, 0 failed, 0 ignored, 0 runtime skips. Both native processes exited 0, with 1,812 filtered out per invocation. Not tested Real driver calls, GPU execution, the base revision, performance, retail smoke, or the full suite. AI use T3 Code through the Codex harness ( |
The lifetime-monotonic 64-slot registry exhausted itself during the full workspace suite. Reuse thread-owned leases after exit and read stable call snapshots. The unchanged-runtime 65-thread regression fails on thread64; all15 focused tests pass after the fix. Full workspace rerun and paired clean-head title validation remain pending. Assisted-by: Codex (GPT-6)
95119af to
c08bd75
Compare
How this was run: the suite ran once on the 11 of your PRs that build on this base, merged together (#3047 #3048 #3049 #3091 #3092 #3103 #3104 #3105 #3107 #3123 #3125; a local tree, only #3125 needed a resolution in README and the AI use: Claude Code (Claude Opus 5.5 and Claude Fable 5.2) ran the builds, tests and title runs, reviewed the diff and wrote this; the code points cited were checked against the merged tree. |
|
merge-check |
bmjask
left a comment
There was a problem hiding this comment.
Critical review of current head c08bd75d. I found no ownership blocker in the per-thread timing-slot lease: the slot is returned on thread exit and the lease keeps an outer call valid after the TLS owner drops. The important remaining coverage is concurrent churn with more than 64 short-lived threads while one outer guard remains active; the included tests address the isolated cases, and existing Windows reports show them passing. Keep the no-slot fallback observable so timing data loss is not silent if all 64 slots are simultaneously occupied. No local Windows run; nonblocking review.
|
Review (head c08bd75, diff read, not a merge-check; draft, so not built or run):
Fine: slots are claimed with an atomic compare-and-swap and released only after the thread-local lease and any active call guard are gone and the slot is cleared; a version counter stops the watch thread from pairing an old call's time with a new thread's id; AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
Test report (not a merge-check: draft, AI-written and posted by Foniass without a human check of each point. |
Driver-call timing now releases its slot when a thread exits. The NVIDIA branch previously assigned 64 slots over the entire process lifetime, so later threads silently lost timing and the full-suite timing assertion failed.
Rebased onto main (2026-11-28).
nvidia-devwas merged intomainby #3203, so this PR now targetsmainand its branch was rebased ontomain765b2c5bfff6754e8c9886a73e188a86aca3c64c: headc08bd75d4e246a223baef36e3c2c40313514dfa7(was95119afe19105b4800ffc4e6d6f007c5f69dc564). The only conflict was the README.md bullet. On the rebased head, on the same RTX 3060 Ti PC, debug profile:cargo check -p xcl --all-targetsexited 0, andcargo test -p xcl --lib -- --test-threads=4 a_driver_snapshot_never_combines_two_calls a_nested_driver_guard_does_not_end_a_later_outer_call an_outer_driver_guard_keeps_its_lease_after_the_tls_owner_drops driver_timing_survives_more_than_64_exited_threads exhausted_driver_slots_can_be_claimed_after_release simultaneous_driver_slot_claims_are_distinct the_ring_holds_what_was_noted_last d3d12x::watchgave 15 passed, 0 failed, 0 ignored, no SKIPPED. The whole suite and the paired title runs have not been rerun on this head; every other result below is from the earlier head. The rebase and its conflict resolution were done with Claude Code.What is in it
e429936chas nowatch.rstiming registry. Open/draft searches found no matching slot repair. D3D12.X: DXC compiles XCL's own HLSL when D3DCompile refuses it #3018 reports the same test failure but changes DXC compilation, not slot ownership.Tested
cargo test --locked -p xcl --lib --target-dir <isolated-target> --no-runpassed for both controls.54225f58plus onlydriver_timing_survives_more_than_64_exited_threads: 0 passed, 1 failed, 0 ignored, 1,806 filtered; no SKIPPED messages. The unchanged API stopped timing at thread 64.cargo test --locked -p xcl --lib --target-dir <isolated-target> hle::d3d12x::watch::tests:: -- --nocapture --test-threads=1: 15 passed, 0 failed, 0 ignored, 1,797 filtered; no SKIPPED messages.a_thread_in_the_driver_is_seen_until_it_returns, after diagnostic-slot exhaustion.Regression run
Pending paired clean-head main/PR title runs; no smoke block claimed.
Not tested
AI use
Codex (GPT-6) diagnosed the baseline failure, checked overlap, implemented and independently reviewed the repair, ran the focused controls/tests and prepared this PR.
Optional temporary Discord for coordinating contributor work, testing and comparing results: https://discord.gg/6B4TykyC4W