Repository navigation
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
This PR fails two tests that pass on Built
Messages:
Both failures reproduce with For completeness: this machine has no read-write access to AI-assisted (Claude Code). |
|
Tested at
By commit:
The last case printed before the span failure is Minor: the debt entry is under "Unknown function info" rather than "Functional". AI-assisted: yes (Claude Code); results above were run on this machine. |
|
Rebase handoff — rebased onto current Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release, To pick it up: Head is |
|
One note on the handoff: |
|
Thanks for the rebase handoff and the follow-up that pins these failures to the PR’s own change. I confirm the two cases are still unresolved: |
|
Review status: the reported #7392 head |
|
Thanks for this. The branch conflicts with main only in One question on 1c5a918: the mixed valid/faulting barrier cases now run only when the device's native subgroup size is exactly 32, so they're also skipped on 64-wide hosts (RADV's default compute subgroup), not only on narrower ones. Is that intended, i.e. does the mixed layout assume 32 lanes? If they hold at 64, |
|
We reproduced both failures on an RTX 4090 with this branch on current main (main alone passes 16/16), and narrowed them down in case it helps the corrected series:
|
|
Thanks for reproducing this on the RTX 4090 and separating the two failures. The |
|
The mixed control expects valid lanes to write their two output dwords and faulting lanes to leave theirs unchanged; |
|
Thanks, these current-main repros are useful. The 32-only gate was conservative because the fixture uses a 32-lane guest wave; I do not have evidence that the mixed-lane case requires a native 32-lane subgroup, so I can’t justify claiming wave64 coverage from the current test. Separately, both |
|
Hey @MarcZX10, I’m starting a Windows repro of the two failures on Have you already started a corrected series? I’ll keep this work with #7392 rather than opening a competing PR, preserve the existing commit authors, and keep #6416 as the declared prerequisite. I also saw @Celegans12’s separate spanned-wave masking follow-up on #6416; I’ll flag any overlap before proposing changes to that path. No fix or game result is being claimed yet. AI-assisted investigation and independent review. |
|
I have not started a corrected series. Please continue the focused repro on this PR and keep #6416 as the prerequisite; I will avoid a competing fix while you investigate. The separate span-read call-count and wave64 fault-report paths should stay isolated as you described. |
|
Hey @MarcZX10, I reproduced both failures and have a separate test-only correction for each.
Tested against main
Each corrected test also passed five fresh-process runs on each GPU: 20/20 test executions, with all 12 fault controls showing zero wrong output dwords every run. Vulkan was required, the AnyPS5 shader cache was disabled, and the requested Khronos validation layer actually loaded; neither side reports a VUID. As a negative control, disabling Full Windows builds of pinned main, the original PR integration and the corrected integration passed with the same separate alignment workaround for Patch commits, authored as Blazing Cook:
The format-patches and combined diff apply cleanly to exact PR head The representative large-barrier compile-time check is still open. I couldn't locate a public replay attachment in the checked sources. Could someone share a reduced barrier+BDA replay request, or run an A/B on an existing request and report exact commits, GPU/driver, preparation time, SPIR-V words and cold pipeline compilation/cache controls? Native64, AMD, other platforms and title validation also remain open; no title-unblock or performance claim is made. At the final overlap check, Public log copies replace local filesystem prefixes with placeholders; the private originals are retained. The archive records public-entry hashes and raw/public provenance hashes. AI-assisted: yes. AnyPS5-7392-tests-and-evidence-20261021.zip |
|
@MarcZX10 a compile-time measurement for the open point in your Tested section ("Compile time for a representative very large barrier compute shader has not been measured"). For this shader the PR makes the back-end compile much faster, not slower. Shader. vkQuake (PPSA99010) compute
I only measured compile time and didn't check the PR's fault semantics. Replay tool, scripts and timings are on the M4 if you want any other variant measured. AI-assisted: yes |
|
Hey @Alexius0815, thanks for running this. The 69–79 s versus 27.5 s pipeline result is useful evidence for the open compile-time check. Could you share the retained replay request and timing scripts, or an original/shareable reduced request that exercises the same barrier+BDA path? To make a matched comparison, these details would help:
A shareable request would let us try the same input on our NVIDIA/Intel setup and compare with your Metal measurements. We'll keep the existing Windows fault-correctness results separate from compile performance. Your actual MoltenVK cache investigation already has an owner, so any help from us can stay coordinated here. AI-assisted: yes. |
|
Quick refresh on the two test corrections: they still fix both reported failures on main
Each corrected test also passed five fresh-process runs on each GPU: 20/20 test executions, with all 12 fault controls visible and no wrong output every run. Both GPUs reject the masking-off negative control: 8 barrier cases write incorrect output while every fault report stays visible. Production source bytes were restored and verified before the final rebuild/runs. All three source compositions passed the full default Windows build. Upstream now includes the alignment fixture change, so this refresh needs no local build workaround. Vulkan was required, the shader cache disabled and the requested Khronos validation layer actually loaded; no VUID/SYNC-HAZARD lines or skips in the focused runs. The full CTest suite was not run. Refreshed commits are At the final upstream check, main had advanced to AMD/native64, other platforms and title validation remain untested here. Alexius's Metal timing/replay follow-up is separate; these runs make no new compile-performance or title-unblock claim. Public log copies normalize local paths; raw originals are retained. AI-assisted: yes. AnyPS5-7392-refreshed-tests-and-evidence-20261022.zip |
39a0161 to
99a8be7
Compare
|
Hi Thanks for rebasing onto current main. A follow-up to our 1 Nov comment: the rebased head
One more point on the base. The first commit here, |
❌ NVIDIA GPU test: failedPR head
Failing testsThis PR changes test files, so each failing test was also built and run on main with only the PR's test changes applied. ✅ there means the failure comes from the PR's other changes; ❌ means the test fails on main too, so this run does not show the PR caused it.
agc_driver_bda_span_reads: Failed (also failed when re-run alone), assertion and diagnosticsagc_shader_memory: Failed (also failed when re-run alone), assertion and diagnosticsFailing on main too (3, not counted against this PR)Validated but not compared (1, not in the main baseline's validation pass)Validation IDs already present on main (13 IDs in 544 tests)Skipped (49)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
I refreshed the existing #6416/#7392 integration on main Support branch, tested head In barrier compute mode, The new regression is
The failing controls are Tests ran on Windows 11 Pro Full logs, receipts, commands, attribution and limitations. Independent source, regression, overlap and runtime reviews passed. Conventions passed against both tested main and the later The support integration retains the newer #6416 spanning/first-fault behavior and both of my prior test corrections. It carries the existing authors' cherry-picked commits with credit preserved; the evidence includes the original-to-carried mapping. #6416 remains a prerequisite. The unchanged public #7392 head is still This fixes propagation of faults already reported by the formatted helper, including the tested invalid-format store. Unmapped stores through |
The mixed valid/faulting barrier controls only ran on native subgroup size 32. Run them on any native subgroup of at least 32 lanes, as requested in review. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
@oneandonlydean @CnRJay — status of the review points on this head. Only one change is pushed; the rest is open. Done
Not done, and not verified
Needs a decision from the author
No merge, close or retitle was done. |
|
Requesting changes on 045a4b3. This head only widens the mixed-lane gate from subgroup == 32 to >= 32. The production code is unchanged since the CI run on 99a8be7 that failed agc_shader_memory and agc_driver_bda_span_reads, and nothing has run on this head yet. Please:
The masking design reads sound to me (sticky per-half flag, guest-state writes inside structured ifs with a Phi, no barrier in divergent control flow). After the above it still owes one title gate plus a perf pair against main in a perf window. |
|
@oneandonlydean @CnRJay Decision on the open items for head Took
Did not take, and why
Not verified here
Needed from the author
|
|
@oneandonlydean @CnRJay Decision on the open items for this PR, head stays at 045a4b3:
Nothing was built or run for this comment. |
|
@MarcZX10 @oneandonlydean GitHub renders the two test corrections in the support branch comparison. Under Files changed, The Windows results in the earlier comment apply to the support integration. Testing Linux and Windows on the updated #7392 head is still pending. AI-assisted: yes. |
What
Keep compute invocations participating in
s_barrierafter a BDA read fault, while recording the fault per lane and suppressing that lane's later writes, atomics and exports. The checked BDA read result is propagated back to the correct lane half. The regression tests cover all-fault and mixed valid/faulting lanes around a barrier. Hull and mesh barrier handling remains outside this change and is recorded in shader technical debt.This is stacked on #6416. Its original fault-lane commit and the follow-up author's commit remain attributed to their respective authors.
Tested
1002:13c0), driver 32.0.21036.18, Windows 11 Enterprise build 26200.main(3de84fa1),git diff --checkandpython3 tools/check_conventions.py --base upstream/mainpass. The runtime tests were not rerun after the rebase.Checklist
main; no other open PR implements the barrier-write fix