Scripts: show coherent memory in smoke reports #2072
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!2072
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2072"
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?
@Swagi-REDACTED on GitHub · 2026-11-25 02:54 UTC · original
Swagi-REDACTED:scripts/smoke-coherent-memory→main· +46 −1 · 2 files · 1 commits · openSmoke reports can compare runs using 512 MiB fallback coherent memory with runs using a full coherent window without showing the difference. This adds
coherent memory: N MBfromreport.json(d3d12.uma_mb), orn/awhen unavailable. Part of #284.What is in it
scripts/smoke.ps1: reuse the adapter's report parse to print the committed UMA size; keep the existing v1 block and other fields.scripts/smoke-memory.tests.ps1: eight fixture cases for 512, 4095, zero, absent/null/invalid metadata, malformed JSON, and a missing report; also preserve the adapter line.Tested
scripts/smoke-memory.tests.ps1andscripts/smoke-title.tests.ps1: pass under PowerShell 7 and Windows PowerShell 5.1 (eight memory cases per shell).python -B -m unittest discover -s scripts -p 'test_pr_check*.py': 13 passed.scripts/test.ps1(cargo build --workspaceandcargo test --workspace -- --test-threads=4): 1154 passed, 0 failed, 46 ignored; 25 explicit skip events: 20 native-wave64 cases, three unsupported per-lane f16 cases, no heap windows, and cache-disabled PSO timing requiring Developer Mode. NoXCL_SAMPLE_*variables were set. Ran on basecbc296aplus this scripts-only diff.Not tested
AI use
@JJAutoCompare on GitHub · 2026-11-25 03:10 UTC · original
PR #2072 — Windows smoke fixtures
Tested clean head
13ed4e2047a1554983e46ae68cc76a06e20cecdaon Windows 11 Enterprise Evaluation 26200.9974, AMD Ryzen 7 3800X, Windows PowerShell 5.1.26100.9818. The public PR remained open at that head after the run.powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -File .\scripts\smoke-memory.tests.ps1exited 0 and printedsmoke-memory: ok (8 cases). The fixture checked 512, 4095, and 0 MB, plusn/afor absent, null, invalid, malformed, and missing report data. All six cases with adapter metadata assertedgpu: Fixture GPU, including the case with invalid UMA metadata.powershell.exe -NoProfile -NonInteractive -ExecutionPolicy RemoteSigned -File .\scripts\smoke-title.tests.ps1exited 0 and printedsmoke-title: ok. That marker follows 15 fixture checks covering eight path/hash cases, one trimmed title override, and six invalid title overrides.Total 23 passed, 0 failed, 0 ignored, 0 skipped across two scripts. Logs and
TEMP/TMPfor the rerun are underL:/XclTooling/pr2072/13ed4e2-remotesigned-20261125T030824005Z/. The earlier default-policy launches were blocked before any case ran, and their logs are preserved alongside this report.RemoteSignedapplied only to each new PowerShell process. The parent still reportedRestrictedafter the run.Not tested PowerShell 7 (unavailable in the locations checked), a game title, Cargo/Rust, GPU execution, or adapter fallback selection. Both scripts used checked-in synthetic fixtures.
AI use T3 Code / Codex (gpt-6.2-sol) verified the head, ran the fixture scripts, and recorded the results.
@DavidM1911 on GitHub · 2026-11-25 05:09 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@RavenCurseBurg on GitHub · 2026-11-25 18:06 UTC · original · edited 2026-11-25 18:12 UTC
Tested
13ed4e2047a1554983e46ae68cc76a06e20cecdaon Windows 11 (26100.9711) with Windows PowerShell 5.1.26100.9711 and PowerShell 7.6.9. On both, a report withuma_mb: trueprinted1 MB,falseprinted0 MB,1.6printed2 MB, and an empty string printed0 MB. This makes malformed metadata look like a measured capacity.Fix and regression cases. With the patch, all 13 independent report fixtures passed in each shell. A genuine zero stayed
0 MB, 4095 and the numeric string"512"retained their values, and malformed measurements producedn/a. A report containing only the memory field used the first non-Basic controller from a simulated CIM query and retained the 512 MB measurement. Explicit report adapter names took precedence. The fixture exit code, frame count and peak commit survived every case.The updated
smoke-memory.tests.ps1(13 cases) and existingsmoke-title.tests.ps1also passed in both shells. Synthetic report files, child and log only. No retail run, full Rust suite or GPU workload. OpenAI Codex (GPT-6) ran the checks and prepared the patch and report.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.