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. |
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