Repository navigation
Conversation
SMEM SOFFSET has operand type OPR_SMEM_OFFSET, which sgpr_uses omitted. Include it so clients such as the per-lane lowering initialize the offset register. Test SGPR offsets and NULL; the test fails on main without this change. Assisted-by: T3 Code / Codex (gpt-6.1-sol)
|
Read the diff against the ISA tables: the scope is right. In AI use: Claude Code (Claude Opus 5.5) read the change and wrote this. |
|
Independent NVIDIA and per-lane lowering test for Tested
Not tested Retail titles, Wine, or release builds. The per-lane run used a synthetic kernel on the pinned experimental revision with the one-line fix applied locally. AI use OpenAI Codex (GPT-6 family, exact variant unavailable) wrote the temporary probe, ran the checks, and drafted this report. |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Test report from a Mac (D3DMetal), #1540 at The per-lane form refuses every kernel whose Tested
Not tested
AI use: Claude Code, Claude Opus 5.5 found the refusals with the harness, ran the tests above on this machine and wrote this report. |
|
Test report for exact head Tested
main: PR: Not tested: AMD, the head merged onto current AI use: Claude Code (Claude Opus 5.5) ran this and wrote the report; the diff was read for safety by a Claude Opus 5.5 sub-agent before it was built. |
|
AMD RDNA4 / Linux (Proton Experimental) test report on head Hardware & environment
Isolated unit tests (
Combined 300 s retail sanity run (release,
Not tested
AI use
|
|
Independent desktop NVIDIA verification of PR #1540 at head Environment
Targeted tests & build (
|
| Command | Result |
|---|---|
cargo test --release -p xcl --lib scalar_memory_register_offset_is_a_read -- --nocapture (3 consecutive runs) |
1 passed; 0 failed; 0 ignored; 748 filtered out × 3 (0.00s, 0.00s, 0.00s, 0 skipped) |
cargo test --release -p xcl --lib gpu::rdna2:: -- --nocapture (3 consecutive runs) |
10 passed; 0 failed; 0 ignored; 739 filtered out × 3 (0.02s, 0.03s, 0.03s, 0 skipped; includes scalar_memory_register_offset_is_a_read and llvm_gfx10_corpus) |
cargo build --release -p xcl |
Clean build (1m 07s, exit 0, 0 new warnings in rdna2.rs) |
Paired quiet 60 s retail smoke (title: 29640639)
(Note: scripts/smoke.ps1 at 9e3831e1 predates 9683e7a6 and printed the local folder basename on title:; replaced below with the standard 9683e7a6 title hash 29640639, with all measured fields verbatim.)
Exact parent & merge-base (9e3831e1f570d3646e53ab753b19ec07eb8f1485, cached baseline on the same machine):
xcl-smoke v1
commit: 9e3831e1f570d3646e53ab753b19ec07eb8f1485
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1549 (PresentX 1549)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14715 MB
PR #1540 (a8683ef45d1a38e0200558e6666ec965476e5e6b):
xcl-smoke v1
commit: a8683ef45d1a38e0200558e6666ec965476e5e6b
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1576 (PresentX 1576)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14707 MB
Limits of coverage
scalar_memory_register_offset_is_a_readand all10/10gpu::rdna2::unit tests (0skipped) passed3/3, directly verifying that SMEM register offsets are tracked as scalar reads.- The 60 s retail smoke confirms steady 60 Hz runtime non-regression (
0device removals,0crashes); single-run frame/commit delta vs. the cached parent reflects normal startup variance.
AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).
SMEM's register offset has operand type
OPR_SMEM_OFFSET, whichsgpr_usesomitted. A register used only asSOFFSETwas therefore absent from the read set; the per-lane lowering on gefydev's branch could reject such a load because its initial SGPR value was not loaded. Part of #1269.What is in it
rdna2.rs: include SMEM register offsets in scalar reads; test s4, s7 and NULL offsets, preserving the destination write set.Tested
cargo test -p xcl --lib gpu::rdna2::tests::scalar_memory_register_offset_is_a_read -- --exact: on main 9e3831e with only the test added, 0 passed / 1 failed / 0 ignored. The fixed test passes in the full suite below.cargo build --workspace: passed at a8683ef.cargo test --workspace -- --test-threads=4 --nocapture: 777 passed / 0 failed / 41 ignored. One SKIPPED test (included in the harness's passed count):heap_window_out_of_memory_falls_back_to_the_switch_form, reasonno heap windows; this is not coverage.Regression run
Not tested
AI use