Repository navigation
Conversation
Under `--test-threads=4`, the full test suite exhausted VRAM (0x8007000E) on
a 6 GB GPU when `d32s8_targets_take_their_own_size_of_video_memory` placed
14 4K D32S8 targets (~935 MB) concurrently with other GPU tests. The
mutex poison from that failure then cascaded into title_textures tests.
All tests pass at `--test-threads=1` and `--test-threads=2`.
Check the adapter's dedicated video memory and call `skip_test("< 8 GB VRAM")`
when under 8 GiB so the suite completes cleanly on 6 GB and smaller adapters.
Fixes #42
Assisted by : Antigravity IDE (Claude Sonnet 4.6)
Move the `< 8 GB VRAM` skip check before acquiring `VRAM_TEST_LOCK`. On GPUs under 8 GiB, the test now skips immediately without contending for or risking poisoning from `VRAM_TEST_LOCK`. Fixes #42 Assisted by : Antigravity IDE (Claude Sonnet 4.6)
Owner
Author
|
Upstream PR xcl-dev#1089 was closed or merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is in it
crates/xcl/src/hle/d3d12x/vram.rs: checkDedicatedVideoMemoryand callskip_test("< 8 GB VRAM")if under 8 GiB.Tested
cargo test --workspace -- --test-threads=4: 697 passed, 0 failed, 33 ignored.d32s8_targets_take_their_own_size_of_video_memory: < 8 GB VRAM.@ivall Could you please add the 'test-only' label to waive the 'smoke.ps1' check for this unit test fix? thanks
Regression run
Test-only diff (touches only
#[cfg(test)] mod testsincrates/xcl/src/hle/d3d12x/vram.rs). Requesting thetest-onlylabel per CONTRIBUTING.md.Not tested
AI use
Mirror of xcl-dev#1089 (auto-synced, do not edit).