Repository navigation
Tests: exercise split wave64 in per-instruction GPU helpers - #546
WebIdentity1 wants to merge 1 commit into
Conversation
|
The exact parent and PR head both completed clean four-thread workspace runs on an RTX 4080. The new focused fixture passed with native wave32 and split console wave64, including the lane-63 read. The CLAMP/OMOD and CPU-write tests mentioned in the PR passed in both workspace runs on this setup. Tested
Not tested
AI use
|
|
Independent validation — NVIDIA RTX 3050 Laptop (wave32-only) Tested PR head: Hardware / environment
Focused regression test — PASS Full workspace validation — PASS Observed skips and limitations
All
Not tested
Scope of this evidence AI use |
526f93c to
f46390e
Compare
|
Updated to The shared-helper change now includes one integration adjustment: the new outer-loop fixture uses Matched native full suites: base769/1/41, refreshed head770/1/41, same known CLAMP failure and four explicit skips. Four focused AMD checks also pass without skips; the120-program loop comparison runs on both adapters. Both builds pass; all226 tracked source hashes match the tested Windows tree. Exact commands and limitations are in the updated description. Remains draft. AI use: Codex (GPT-6) implemented the test-only refresh, ran validation and prepared this update. |
Run both console wave sizes through adapter-aware HLSL options while preserving the direct DXIL path added on main. Check every lane and a lane-63 scalar read; retain native and forced-split swizzle cases. On Windows 10, the RTX 3090 and AMD adapter passed 11 focused HLSL/direct DXIL GPU runs without skips. The matched 20-target workspace pair on c4d37be had 957 passed/2 failed/43 ignored on main and 959 passed/1 failed/43 ignored with this test, with 25 explicit skips on each. The integer CLAMP failure appears on both; a VRAM fixture failed only on main. The source file is unchanged by the subsequent 1d027e5 CI-only fast-forward.
f46390e to
7201435
Compare
A list's marks went to the event of its first submission. A recording that ran again then had none: run 13's GPU stood 30 s in "a list without marks", which was such a list. And a list closed when it was made kept that Close among the marks of its first real recording, never passed, so the report put the GPU before it (run 9 and 12: "at xcl-dev#546 Close (not reached)" on lists whose later marks had passed). - A list keeps its marks until it is reset (reset_x, a new or released list; a recording started after KickoffX or on a spare segment starts them anew). An event names the lists that ran before, and each such submission is logged with the recording's first ops. - Before a recording runs again its marks are cleared, where its run before has finished, so they show this run. - CopyMemoryToMemoryX, the fills and CopyBufferRegion add their size to the mark of their call. After a list's Close mark XCL records one thing: the barrier that takes a predication buffer back to COMMON. Test: hle::d3d12x::breadcrumbs::tests::breadcrumbs_mark_ops_and_the_queue_events_after_them (GPU), each_list_of_an_event_is_named_with_the_marks_it_passed Assisted-by: omp (anthropic/claude-mythos-5-2)
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
The shared per-instruction GPU helpers skipped console wave64 on NVIDIA. Run both console wave sizes through adapter-aware HLSL options, checking all lanes and a lane-63 scalar read. Keep the existing direct DXIL route from main. This remains draft because the workspace suite has an existing integer CLAMP failure.
What is in it
crates/xcl/src/gpu/recomp/tests.rsonly: run both wave sizes throughgpu_waves, select split wave64 in the HLSL helper, add an all-lane/last-lane GPU regression, preserve the swizzle fixture's native and forced-split cases, and route the outer-loop fixture throughon_gpu. No runtime change. Related Recompiler tests: GPU checks for VOP3 bit-field, perm, align and min3/max3/med3 #445 / Recompiler: complete remaining RDNA2 integer CLAMP=1 saturation (#105) #202 implementations are not included.Tested
720143505d92c4c7b156da63f0372e339e653e01on current main1d027e5c76c9a86a7ee2ca1cc677edf0be95d331. Tested Rust tree wasc4d37bec1bb4286eb373aea963404a23f13401faplus this exact test-file patch; the subsequent main commit only added.github/workflows/stale.yml. The test file SHA-256 isa27cd78a260c746545870ce6d0b850fb2e9325a5805bc923a5428ffc74a197eflocally and in the Windows candidate.cargo build --locked --workspace: exit 0 for each tree.cargo test --locked -p xcl --lib <filter> -- --test-threads=1 --show-output: 11 passed, 0 failed, 0 ignored, 0 explicit skips. On the 3090, the new per-lane test, swizzle test, and outer-loop test passed withXCL_DIRECT_DXIL=0and1; the outer-loop fixture itself uses HLSL. On AMD, those three passed in HLSL mode and the new per-lane and swizzle tests passed in direct mode.XCL_ADAPTERselected the named adapter; AMD additionally usedXCL_REQUIRE_GPU=wave64.cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputon the 3090, after refreshing each archive's source timestamps so Cargo recompiled the correct test binary: main 957 passed, 2 failed, 43 ignored, candidate 959 passed, 1 failed, 43 ignored, across 20 targets; 25 explicitSKIPPEDnotices each. The candidate adds exactly one test.gpu_clamp_and_omod_per_instructionfailed in both.d32s8_targets_take_their_own_size_of_video_memoryfailed only on main in this pair; no candidate-only failure. Test command exited 101 on both. Baseline log lacks the new test and candidate log contains it. The initial full-suite attempt reused the candidate test binary for main and was discarded; its logs are retained as invalid.Not tested
Retail/gameplay or smoke, release build, full AMD workspace suite, D3D12 debug-layer fixtures (SDK layer unavailable). Sample-gated early returns are not gameplay coverage. One full pair does not establish reliability of the baseline-only VRAM failure.
AI use
Codex (GPT-6): integrated the test-only patch with current main, checked source and test logs, ran the Windows GPU validation, and updated this description. The owner is the sole Git author and committer.