GPU: add optional memory category log #69
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/69"
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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by Adika713 on 2026-11-26T01:33:41Z.
Adds an off-by-default
VICTORY_MEMORY_CATEGORIES=1diagnostics line so memory reductions can be judged against working set and commit headroom, not just private bytes. No pagefile change and no runtime behavior change when the switch is off.What is in it
memory by categoryline invictory-gpu, using counters that already exist.Tested
cargo build --locked --profile diag -p victory --features diagnostics, exit 0.cargo test --locked -p victory-gpu --features diagnostics --lib copystat::own_tests::the_category_line_formats_megabytes -- --exact --test-threads=1: 1 passed / 0 failed / 408 filtered.descriptor::host::tests::views_are_made_beside_the_heap_and_copied_in; it also fails on base0a43566.victory-gpu325 passed / 1 failed / 34 ignored; all other targets passed.Not tested
AI use: OpenCode, model Big Pickle.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by avatarmanz on 2026-11-26T07:55:19Z.
Merged into main in the next push (tests pass); thanks.