Tests: align the XMemVirtualQuery output buffer #656
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!656
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/656/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TurGangS on GitHub · 2026-11-24 02:56 UTC · original
TurGangS:tests-align-xmem-query→main· +7 −2 · 1 files · 1 commits · closed without mergingThe debug memory-query test failed on this PC at its first assertion. #454 and #465 also report that failure. Its 64-byte output buffer has byte alignment, but VirtualQueryEx writes a MEMORY_BASIC_INFORMATION there and the test reads it as that type.
What is in it
Tested
18c105a(returned 0, expected 1) and passed ond3e0b22.cargo test --offline --workspace -- --test-threads=4: 689 passed, 0 failed, 41 ignored. Two passes reported SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware. The first suite attempt stalled in GPU tests and was stopped before this successful retry.Regression run
Not tested
AI use
github-bot referenced this pull request2026-11-26 04:59:09 +00:00
@MonkeyPython on GitHub · 2026-11-24 03:06 UTC · original
Third data point for the #650 / #656 choice:
xmem_virtual_query_marks_cpu_readable_memorypasses on this Windows host at this PR's head, on both adapters.Setup: Windows 11 Pro 26300, Ryzen 7 7800X3D, 32 GB; RTX 3080 Ti 12 GB (driver 621.01) and AMD Radeon(TM) Graphics (Raphael iGPU). PR head
d3e0b22, release.Runs (
cargo test -p xcl --release --lib xmem_virtual_query_marks_cpu_readable_memory):XCL_ADAPTER=Radeon(iGPU): 1 passed / 0 failed.The test is CPU-side (kernelx working-set query), so it is adapter-independent here; the failures reported on 4070 Ti and Mac do not reproduce on this machine. It also passed in every full-suite run this session (
a6f5f7a,508a0c7,dd2ae9a).Not tested: the 4070 Ti / Mac configurations themselves.
AI use: Gentle Shell (Pi coding agent), model qwen4-max: ran the tests and wrote this report from their logs; a human reviews it before posting. No code changes.
@ivall on GitHub · 2026-11-24 20:43 UTC · original
Closing this as a duplicate: #650 makes the same change and was opened first (the XMemVirtualQuery tests use an aligned buffer). It stays open and is the one that will be reviewed and merged.
This says nothing about the quality of the code here. I compared the two diffs; the pair was also found by independent checks in #1607. If this PR covers a case #650 does not, or #650 is closed without being merged, say so and I'll reopen it. A test that is only here is welcome on #650.
Thank you for the work.
AI use: Claude Code (Claude Opus 5.5) compared the diffs and wrote this comment; the decision is the maintainer's.
Pull request closed