Tests: GPU UMA tests skip where D3D12 has no heaps over process memory #1053

Closed
vakaobr wants to merge 1 commit from upstream-pr/1060 into main
vakaobr commented 2026-11-24 11:05:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vakaobr on 2026-11-24T11:05:03Z.


On Apple's D3DMetal (macOS, CrossOver) OpenExistingHeapFromAddress answers E_NOTIMPL (0x80004001), so there are no GPU heaps over process memory. Six GPU tests that need them fail there instead of skipping: five unwrap runner::run_in_arena and panic on that error, and gpu_sparse_vram_descriptors_buffers_and_xmem finds no window VAs after real::init(). Part of #258.

What is in it

  • crates/xcl/src/gpu/recomp/tests.rs: no_host_heaps() skips with no GPU UMA only when the error is E_NOTIMPL from OpenExistingHeapFromAddress. run_in_arena_or_skip() wraps run_in_arena with it, used by gpu_unified_memory_arena, gpu_mesh_mode_reads_memory_windows (its positions closure now returns an Option), gpu_memory_windows_above_4_gib, gpu_memory_windows_reject_out_of_uma_aliasing and gpu_bvh64_intersect_ray_across_memory_windows_and_grazing. gpu_sparse_vram_descriptors_buffers_and_xmem checks the runtime's uma_error the same way before reading the window VAs. Any other error still fails the tests.

Tested

  • MacBook Pro M5 Pro (20-core GPU), 48 GB, macOS 27.2.1, CrossOver 26.3.0.39832, D3DMetal 3.0 ("AMD Compatibility Mode"), Rosetta 2. Rust 1.100.0, x86_64-pc-windows-gnu (mingw-w64 GCC 16.2.0), debug, DXC 1.9.2609. Each test in its own process (<lib test exe> --exact <test> --test-threads=1 --nocapture).
  • On main 9aec53d (full per-test run): all six fail, five with called Result::unwrap() on an Err value: "OpenExistingHeapFromAddress: Not implemented. (0x80004001)" and the sparse test with no valid window VAs.
  • At this PR's head b22e57c (on main 384f7f7): 6 passed, all six SKIPPED …: no GPU UMA.
  • Mutation: with the check looking for another code (0x8007000E), all six fail again.

Regression run

Test-only change in tests.rs: no xcl-smoke blocks.

Not tested

  • Windows and any host with heaps over process memory: there OpenExistingHeapFromAddress succeeds, nothing should skip, and the tests run as before, but I have not run it.
  • XCL_REQUIRE_GPU=wave64 / mesh turns these skips into failures, as for every reason but "no mesh shaders".
  • Not in this PR: list_x::tests::write_buffer_immediate_on_open_existing_heap_visible_to_cpu fails the same way but lives in list_x.rs (a runtime file for PR checks), and gpu::shader::tests::readable_answers_from_the_working_set_without_touching_pages fails for another reason (Wine's QueryWorkingSetEx).
  • #1024 handles gpu_uma_import_check_at_init the same way in another part of the file; the two do not overlap. #614 edits the real::init() line above the sparse test's new check and still applies on top of this change.

AI use

  • Claude Code with Claude Opus 5.5 traced the failures from a full per-test run, wrote the change and this description, and ran the tests and the mutation above on this machine.
<!-- greyfinch-sync:ivall/xcl:issue:5470934089 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1060). Originally posted by [vakaobr](https://github.com/vakaobr) on 2026-11-24T11:05:03Z. --- On Apple's D3DMetal (macOS, CrossOver) `OpenExistingHeapFromAddress` answers E_NOTIMPL (0x80004001), so there are no GPU heaps over process memory. Six GPU tests that need them fail there instead of skipping: five unwrap `runner::run_in_arena` and panic on that error, and `gpu_sparse_vram_descriptors_buffers_and_xmem` finds no window VAs after `real::init()`. Part of #258. **What is in it** - `crates/xcl/src/gpu/recomp/tests.rs`: `no_host_heaps()` skips with `no GPU UMA` only when the error is E_NOTIMPL from `OpenExistingHeapFromAddress`. `run_in_arena_or_skip()` wraps `run_in_arena` with it, used by `gpu_unified_memory_arena`, `gpu_mesh_mode_reads_memory_windows` (its `positions` closure now returns an `Option`), `gpu_memory_windows_above_4_gib`, `gpu_memory_windows_reject_out_of_uma_aliasing` and `gpu_bvh64_intersect_ray_across_memory_windows_and_grazing`. `gpu_sparse_vram_descriptors_buffers_and_xmem` checks the runtime's `uma_error` the same way before reading the window VAs. Any other error still fails the tests. **Tested** - MacBook Pro M5 Pro (20-core GPU), 48 GB, macOS 27.2.1, CrossOver 26.3.0.39832, D3DMetal 3.0 ("AMD Compatibility Mode"), Rosetta 2. Rust 1.100.0, `x86_64-pc-windows-gnu` (mingw-w64 GCC 16.2.0), debug, DXC 1.9.2609. Each test in its own process (`<lib test exe> --exact <test> --test-threads=1 --nocapture`). - On `main` `9aec53d` (full per-test run): all six fail, five with `called Result::unwrap() on an Err value: "OpenExistingHeapFromAddress: Not implemented. (0x80004001)"` and the sparse test with no valid window VAs. - At this PR's head `b22e57c` (on `main` `384f7f7`): 6 passed, all six `SKIPPED …: no GPU UMA`. - Mutation: with the check looking for another code (0x8007000E), all six fail again. **Regression run** Test-only change in `tests.rs`: no `xcl-smoke` blocks. **Not tested** - Windows and any host with heaps over process memory: there `OpenExistingHeapFromAddress` succeeds, nothing should skip, and the tests run as before, but I have not run it. - `XCL_REQUIRE_GPU=wave64` / `mesh` turns these skips into failures, as for every reason but "no mesh shaders". - Not in this PR: `list_x::tests::write_buffer_immediate_on_open_existing_heap_visible_to_cpu` fails the same way but lives in `list_x.rs` (a runtime file for `PR checks`), and `gpu::shader::tests::readable_answers_from_the_working_set_without_touching_pages` fails for another reason (Wine's `QueryWorkingSetEx`). - #1024 handles `gpu_uma_import_check_at_init` the same way in another part of the file; the two do not overlap. #614 edits the `real::init()` line above the sparse test's new check and still applies on top of this change. **AI use** - Claude Code with Claude Opus 5.5 traced the failures from a full per-test run, wrote the change and this description, and ran the tests and the mutation above on this machine.
mikebuckets171 commented 2026-11-24 12:05:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mikebuckets171 on 2026-11-24T11:45:13Z.


Verified on a macOS host: all six tests this PR names do get the skip, from the E_NOTIMPL condition, and the skip does not fire anywhere it should not.

Host: MacBook Pro M5 Pro (48 GB), macOS 27.2.1, CrossOver 26 with D3DMetal (adapter reports "AMD Compatibility Mode"), Rosetta 2, Rust 1.100.0, x86_64-pc-windows-gnullvm (LLVM-MinGW, clang 23.1.6), --release --locked, test binaries under Wine, one test per process (--exact <full test path> --nocapture --test-threads=1), a fresh data root per run. Base 47efa2e, head b22e57c, each side built from its own checkout.

test 47efa2e b22e57c
gpu::recomp::tests::gpu_unified_memory_arena FAILED - panic at tests.rs:3115:54, exit 0x65 SKIPPED …gpu_unified_memory_arena: no GPU UMA -> ok 0.29 s
gpu::recomp::tests::gpu_mesh_mode_reads_memory_windows FAILED - tests.rs:3172:56 SKIPPED …: no GPU UMA -> ok 0.27 s
gpu::recomp::tests::gpu_memory_windows_above_4_gib FAILED - tests.rs:3236:54 SKIPPED …: no GPU UMA -> ok 0.26 s
gpu::recomp::tests::gpu_memory_windows_reject_out_of_uma_aliasing FAILED - tests.rs:3342:54 SKIPPED …: no GPU UMA -> ok 0.27 s
gpu::recomp::tests::gpu_sparse_vram_descriptors_buffers_and_xmem FAILED - tests.rs:3397:5, assertion left == right failed, left: 0, right: 4 SKIPPED …: no GPU UMA -> ok 0.35 s
gpu::recomp::tests::gpu_bvh64_intersect_ray_across_memory_windows_and_grazing FAILED - tests.rs:4420:56 SKIPPED …: no GPU UMA -> ok 0.32 s

Six for six: the five run_in_arena sites fail on the base exactly as the description says (the unwrap on the heap-opening error, panic locations above), and gpu_sparse_vram_descriptors_buffers_and_xmem fails on its window-count assertion (left: 0, right: 4 - no window VAs recorded). At the head each one takes the no GPU UMA skip and the process exits 0.

The condition your no_host_heaps() looks for is the host's real answer here: a plain D3D12 program (no XCL, no game content) calling OpenExistingHeapFromAddress gets Not implemented (0x80004001) on this host, and the XCL runs record the same thing, so the narrow E_NOTIMPL-only trigger is the right discriminator rather than a general "UMA is missing" guess.

One failure in the same family this PR does not reach: hle::d3d12x::list_x::tests::write_buffer_immediate_on_open_existing_heap_visible_to_cpu panics at list_x.rs:5034:74, exit 0x65, on both sides - unchanged by this PR, because it lives in list_x.rs and this change touches only tests.rs. Its title is the same premise (write-buffer-immediate into a heap opened from an address), so on a Mac host it is the remaining failure of this family. Mentioning it only so the Mac-host list is complete; where it should be handled is your call.

Tree state, so the test counts line up with other reports: this head branched from 384f7f7; main is 9 commits further (vram.rs, vfs.rs, vfs_hooks.rs, which add 4 tests), so the lib test binary here reports 715 tests at the head and 719 at 47efa2e - the difference is main's newer tests, not anything this PR removes. git merge-tree of main 47efa2e against b22e57c reports no conflict, so no rebase is needed for this pair to describe main as it stands.

Not tested here: Windows (no Windows machine on this bench), a host where the skip must not fire - @DavidM1911's Windows row on #1024 covers that shape for the sibling PR (skip correctly not taken, "ok, 1 window(s)"), and I ran these seven tests rather than the whole suite (the whole lib binary does not run to completion on this host), and no titles.

Host: macOS 27.2.1 (Apple silicon, M5 Pro), CrossOver 26, D3DMetal; local inference unloaded and the bottle's wineserver stopped for each run. AI use: GPT-6 Luna built both trees, ran the tests and drafted this comment; the panic locations, codes and timings are from those runs.

<!-- greyfinch-sync:ivall/xcl:comment:7130502133 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1060#issuecomment-7130502133). Originally posted by [mikebuckets171](https://github.com/mikebuckets171) on 2026-11-24T11:45:13Z. --- **Verified on a macOS host: all six tests this PR names do get the skip, from the E_NOTIMPL condition, and the skip does not fire anywhere it should not.** Host: MacBook Pro M5 Pro (48 GB), macOS 27.2.1, CrossOver 26 with D3DMetal (adapter reports "AMD Compatibility Mode"), Rosetta 2, Rust 1.100.0, `x86_64-pc-windows-gnullvm` (LLVM-MinGW, clang 23.1.6), `--release --locked`, test binaries under Wine, one test per process (`--exact <full test path> --nocapture --test-threads=1`), a fresh data root per run. Base `47efa2e`, head `b22e57c`, each side built from its own checkout. | test | `47efa2e` | `b22e57c` | |---|---|---| | `gpu::recomp::tests::gpu_unified_memory_arena` | FAILED - panic at `tests.rs:3115:54`, exit `0x65` | `SKIPPED …gpu_unified_memory_arena: no GPU UMA` -> `ok` 0.29 s | | `gpu::recomp::tests::gpu_mesh_mode_reads_memory_windows` | FAILED - `tests.rs:3172:56` | `SKIPPED …: no GPU UMA` -> `ok` 0.27 s | | `gpu::recomp::tests::gpu_memory_windows_above_4_gib` | FAILED - `tests.rs:3236:54` | `SKIPPED …: no GPU UMA` -> `ok` 0.26 s | | `gpu::recomp::tests::gpu_memory_windows_reject_out_of_uma_aliasing` | FAILED - `tests.rs:3342:54` | `SKIPPED …: no GPU UMA` -> `ok` 0.27 s | | `gpu::recomp::tests::gpu_sparse_vram_descriptors_buffers_and_xmem` | FAILED - `tests.rs:3397:5`, `assertion left == right failed`, `left: 0`, `right: 4` | `SKIPPED …: no GPU UMA` -> `ok` 0.35 s | | `gpu::recomp::tests::gpu_bvh64_intersect_ray_across_memory_windows_and_grazing` | FAILED - `tests.rs:4420:56` | `SKIPPED …: no GPU UMA` -> `ok` 0.32 s | Six for six: the five `run_in_arena` sites fail on the base exactly as the description says (the unwrap on the heap-opening error, panic locations above), and `gpu_sparse_vram_descriptors_buffers_and_xmem` fails on its window-count assertion (`left: 0, right: 4` - no window VAs recorded). At the head each one takes the `no GPU UMA` skip and the process exits 0. The condition your `no_host_heaps()` looks for is the host's real answer here: a plain D3D12 program (no XCL, no game content) calling `OpenExistingHeapFromAddress` gets **`Not implemented (0x80004001)`** on this host, and the XCL runs record the same thing, so the narrow `E_NOTIMPL`-only trigger is the right discriminator rather than a general "UMA is missing" guess. **One failure in the same family this PR does not reach:** `hle::d3d12x::list_x::tests::write_buffer_immediate_on_open_existing_heap_visible_to_cpu` panics at `list_x.rs:5034:74`, exit `0x65`, on **both** sides - unchanged by this PR, because it lives in `list_x.rs` and this change touches only `tests.rs`. Its title is the same premise (write-buffer-immediate into a heap opened from an address), so on a Mac host it is the remaining failure of this family. Mentioning it only so the Mac-host list is complete; where it should be handled is your call. **Tree state, so the test counts line up with other reports:** this head branched from `384f7f7`; main is 9 commits further (`vram.rs`, `vfs.rs`, `vfs_hooks.rs`, which add 4 tests), so the lib test binary here reports **715 tests at the head and 719 at `47efa2e`** - the difference is main's newer tests, not anything this PR removes. `git merge-tree` of main `47efa2e` against `b22e57c` reports no conflict, so no rebase is needed for this pair to describe `main` as it stands. Not tested here: Windows (no Windows machine on this bench), a host where the skip must *not* fire - @DavidM1911's Windows row on #1024 covers that shape for the sibling PR (skip correctly not taken, "ok, 1 window(s)"), and I ran these seven tests rather than the whole suite (the whole lib binary does not run to completion on this host), and no titles. Host: macOS 27.2.1 (Apple silicon, M5 Pro), CrossOver 26, D3DMetal; local inference unloaded and the bottle's wineserver stopped for each run. **AI use**: GPT-6 Luna built both trees, ran the tests and drafted this comment; the panic locations, codes and timings are from those runs.
mynzjerko commented 2026-11-24 12:05:51 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mynzjerko on 2026-11-24T11:53:54Z.


Tested on Windows 11 with an AMD GPU (native wave64 and host heaps over process memory): all 6 GPU UMA tests ran without skipping, and the full suite passed.

Tested

  • Commit: b22e57cceafdeb46f01deab6f633d491e35a6488
  • Hardware / OS: AMD Radeon RX 9070 (RDNA4, native wave64, driver 32.0.32029.2010), AMD Ryzen 5 7500F, Windows 11 Pro 10.0.26300, rustc 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17, debug build
  • cargo build --workspace: ok
  • cargo test -p xcl --lib -- gpu_unified_memory_arena gpu_mesh_mode_reads_memory_windows gpu_memory_windows_above_4_gib gpu_memory_windows_reject_out_of_uma_aliasing gpu_sparse_vram_descriptors_buffers_and_xmem gpu_bvh64_intersect_ray_across_memory_windows_and_grazing --nocapture --test-threads=1: 6 passed, 0 failed, 0 ignored (0 SKIPPED; none hit no_host_heaps)
  • cargo test --workspace -- --test-threads=4: 737 passed, 0 failed, 41 ignored (xcl --lib: 694 passed, 0 failed, 21 ignored; SKIPPED GPU tests: 0)

Not tested

  • macOS / D3DMetal (where OpenExistingHeapFromAddress returns E_NOTIMPL), NVIDIA / Intel GPUs, Linux / Wine, release build, retail titles (scripts/smoke.ps1)

AI use

  • Google Antigravity (Gemini 4 Neon) checked out the PR, ran the builds and tests locally, and drafted this report; I verified the results before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7130692474 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1060#issuecomment-7130692474). Originally posted by [mynzjerko](https://github.com/mynzjerko) on 2026-11-24T11:53:54Z. --- Tested on Windows 11 with an AMD GPU (native wave64 and host heaps over process memory): all 6 GPU UMA tests ran without skipping, and the full suite passed. **Tested** - Commit: `b22e57cceafdeb46f01deab6f633d491e35a6488` - Hardware / OS: AMD Radeon RX 9070 (RDNA4, native wave64, driver `32.0.32029.2010`), AMD Ryzen 5 7500F, Windows 11 Pro 10.0.26300, `rustc 1.100.0` (`stable-x86_64-pc-windows-msvc`), DXC `1.9.2602.17`, debug build - `cargo build --workspace`: ok - `cargo test -p xcl --lib -- gpu_unified_memory_arena gpu_mesh_mode_reads_memory_windows gpu_memory_windows_above_4_gib gpu_memory_windows_reject_out_of_uma_aliasing gpu_sparse_vram_descriptors_buffers_and_xmem gpu_bvh64_intersect_ray_across_memory_windows_and_grazing --nocapture --test-threads=1`: 6 passed, 0 failed, 0 ignored (`0 SKIPPED`; none hit `no_host_heaps`) - `cargo test --workspace -- --test-threads=4`: 737 passed, 0 failed, 41 ignored (`xcl --lib`: 694 passed, 0 failed, 21 ignored; `SKIPPED` GPU tests: 0) **Not tested** - macOS / D3DMetal (where `OpenExistingHeapFromAddress` returns `E_NOTIMPL`), NVIDIA / Intel GPUs, Linux / Wine, release build, retail titles (`scripts/smoke.ps1`) **AI use** - Google Antigravity (Gemini 4 Neon) checked out the PR, ran the builds and tests locally, and drafted this report; I verified the results before posting.
jesuarchive commented 2026-11-24 13:03:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by jesuarchive on 2026-11-24T12:36:49Z.


Native Windows + NVIDIA check that no_host_heaps does not skip where D3D12 can place heaps over process memory. Head b22e57c, merged locally onto main 47efa2e (clean merge, nothing pushed).

Tested

  • NVIDIA GeForce RTX 3060 12 GB (Ampere, 32-lane waves only), driver 32.0.16.1088; AMD Ryzen 7 5800XT; Windows 11 Pro build 26300; rustc 1.95.0 stable-x86_64-pc-windows-msvc; DXC 1.9.2602.17 from the Windows SDK; debug.
  • The eight tests the PR touches, with --test-threads=1 --nocapture: gpu_uma_import_check_at_init, gpu_unified_memory_arena, gpu_memory_windows_above_4_gib, gpu_memory_windows_reject_out_of_uma_aliasing, gpu_mesh_mode_reads_memory_windows, gpu_bvh64_intersect_ray_across_memory_windows_and_grazing, gpu_sparse_vram_descriptors_buffers_and_xmem, gpu_global_atomics_and_sub_dword_access: 8 passed, 0 failed. None printed skipping or SKIPPED: they all ran on the GPU. Same eight on main 47efa2e: 8 passed.
  • cargo test --workspace -- --test-threads=4: 741 passed, 0 failed, 41 ignored, the same as main.
  • SKIPPED on this adapter, the same two on main: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64).

Not tested

  • A host without heaps over process memory (no CrossOver / D3DMetal here); Intel GPUs; the head on its own base 384f7f7; release build.

AI use

  • Claude Code with Claude Opus 5.5: merged the branch, ran the commands above on this machine and wrote this report.
<!-- greyfinch-sync:ivall/xcl:comment:7131682223 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1060#issuecomment-7131682223). Originally posted by [jesuarchive](https://github.com/jesuarchive) on 2026-11-24T12:36:49Z. --- Native Windows + NVIDIA check that `no_host_heaps` does not skip where D3D12 can place heaps over process memory. Head `b22e57c`, merged locally onto `main` `47efa2e` (clean merge, nothing pushed). **Tested** - NVIDIA GeForce RTX 3060 12 GB (Ampere, 32-lane waves only), driver 32.0.16.1088; AMD Ryzen 7 5800XT; Windows 11 Pro build 26300; rustc 1.95.0 `stable-x86_64-pc-windows-msvc`; DXC 1.9.2602.17 from the Windows SDK; debug. - The eight tests the PR touches, with `--test-threads=1 --nocapture`: `gpu_uma_import_check_at_init`, `gpu_unified_memory_arena`, `gpu_memory_windows_above_4_gib`, `gpu_memory_windows_reject_out_of_uma_aliasing`, `gpu_mesh_mode_reads_memory_windows`, `gpu_bvh64_intersect_ray_across_memory_windows_and_grazing`, `gpu_sparse_vram_descriptors_buffers_and_xmem`, `gpu_global_atomics_and_sub_dword_access`: 8 passed, 0 failed. None printed `skipping` or `SKIPPED`: they all ran on the GPU. Same eight on `main` `47efa2e`: 8 passed. - `cargo test --workspace -- --test-threads=4`: 741 passed, 0 failed, 41 ignored, the same as `main`. - SKIPPED on this adapter, the same two on `main`: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64). **Not tested** - A host without heaps over process memory (no CrossOver / D3DMetal here); Intel GPUs; the head on its own base `384f7f7`; release build. **AI use** - Claude Code with Claude Opus 5.5: merged the branch, ran the commands above on this machine and wrote this report.
DavidM1911 commented 2026-11-25 09:08:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T09:04:42Z.


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!

<!-- greyfinch-sync:ivall/xcl:comment:7157844186 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1060#issuecomment-7157844186). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T09:04:42Z. --- 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!
github-actions[bot] commented 2026-11-29 07:41:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:41:03Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7252625426 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1060#issuecomment-7252625426). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-29T07:41:03Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
BBareth commented 2026-11-30 09:30:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T09:30:29Z.


merge-check claim
head: b22e57ccea

<!-- greyfinch-sync:ivall/xcl:comment:7274301444 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1060#issuecomment-7274301444). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T09:30:29Z. --- merge-check claim head: b22e57cceafdeb46f01deab6f633d491e35a6488
BBareth commented 2026-11-30 09:39:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T09:39:19Z.


merge-check
base: 9dfbe3ea66
head: b22e57ccea
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2885 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored). 28 SKIPPED lines, the same count as on the base. The six tests the PR touches all ran and passed here (gpu_unified_memory_arena, gpu_mesh_mode_reads_memory_windows, gpu_memory_windows_above_4_gib, gpu_memory_windows_reject_out_of_uma_aliasing, gpu_sparse_vram_descriptors_buffers_and_xmem, gpu_bvh64_intersect_ray_across_memory_windows_and_grazing), so on a host with heaps over process memory nothing is skipped that ran before.
review: no blocking finding; test-only, one file, every hunk read. The skip is narrow: only an error that starts with OpenExistingHeapFromAddress and contains 0x80004001 skips (through runner::skip_test, so it prints SKIPPED); any other error still panics as before. Not exercised on this machine: the skip path itself (this D3D12 has the heaps), so that it skips on D3DMetal rests on the author's report. #1024 (open) is the sibling for another test, not a duplicate.
performance: none; tests only.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.

<!-- greyfinch-sync:ivall/xcl:comment:7274504601 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1060#issuecomment-7274504601). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T09:39:19Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: b22e57cceafdeb46f01deab6f633d491e35a6488 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2885 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored). 28 SKIPPED lines, the same count as on the base. The six tests the PR touches all ran and passed here (`gpu_unified_memory_arena`, `gpu_mesh_mode_reads_memory_windows`, `gpu_memory_windows_above_4_gib`, `gpu_memory_windows_reject_out_of_uma_aliasing`, `gpu_sparse_vram_descriptors_buffers_and_xmem`, `gpu_bvh64_intersect_ray_across_memory_windows_and_grazing`), so on a host with heaps over process memory nothing is skipped that ran before. review: no blocking finding; test-only, one file, every hunk read. The skip is narrow: only an error that starts with `OpenExistingHeapFromAddress` and contains `0x80004001` skips (through `runner::skip_test`, so it prints SKIPPED); any other error still panics as before. Not exercised on this machine: the skip path itself (this D3D12 has the heaps), so that it skips on D3DMetal rests on the author's report. #1024 (open) is the sibling for another test, not a duplicate. performance: none; tests only. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.
Elytes commented 2026-11-30 10:09:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Elytes on 2026-11-30T10:09:01Z.


merge-check
base: 9dfbe3ea66
head: b22e57ccea
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2885 passed, 1 failed, 51 ignored; SKIPPED: 28 (22 no wave64, 2 no heap windows, 3 no D3D12 debug layer, 1 driver cache needs Developer Mode); failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, also failing on the base alone (base lib 2737 passed / 1 failed, the same as the merge: this PR adds no test). The six tests it touches ran and passed here; none printed the no-heaps skip.
review: no blocking finding after reading the whole diff and the comments; test-only. The skip fires only for an OpenExistingHeapFromAddress error carrying 0x80004001, so any other error still fails the tests.
performance: none (tests only).
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 5090 (driver 32.0.16.1742, wave32), Intel Core i9-14900KS, 192 GB, Windows 11 build 26300.10075, rustc 1.100.1, debug / Claude Code (Claude Opus 5.5) ran the merge, build and suite, and reviewed the diff and comments.

<!-- greyfinch-sync:ivall/xcl:comment:7275196335 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1060#issuecomment-7275196335). Originally posted by [Elytes](https://github.com/Elytes) on 2026-11-30T10:09:01Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: b22e57cceafdeb46f01deab6f633d491e35a6488 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2885 passed, 1 failed, 51 ignored; SKIPPED: 28 (22 no wave64, 2 no heap windows, 3 no D3D12 debug layer, 1 driver cache needs Developer Mode); failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, also failing on the base alone (base lib 2737 passed / 1 failed, the same as the merge: this PR adds no test). The six tests it touches ran and passed here; none printed the no-heaps skip. review: no blocking finding after reading the whole diff and the comments; test-only. The skip fires only for an OpenExistingHeapFromAddress error carrying 0x80004001, so any other error still fails the tests. performance: none (tests only). verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 5090 (driver 32.0.16.1742, wave32), Intel Core i9-14900KS, 192 GB, Windows 11 build 26300.10075, rustc 1.100.1, debug / Claude Code (Claude Opus 5.5) ran the merge, build and suite, and reviewed the diff and comments.
vakaobr commented 2026-11-30 13:21:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vakaobr on 2026-11-30T13:21:31Z.


Closing, although it has two safe to merge checks (thank you @BBareth and @Elytes). Since #1329, D3DMetal gets a video-memory copy of the window instead of the OpenExistingHeapFromAddress error, so this skip never fires. On main 9dfbe3e with this PR merged, on a Mac, gpu_unified_memory_arena, gpu_mesh_mode_reads_memory_windows and gpu_bvh64_intersect_ray_across_memory_windows_and_grazing run and pass without skipping. The other three tests it touches stop on a Mac for an unrelated reason (UMul in Apple's shader converter), which #3525 fixes.

<!-- greyfinch-sync:ivall/xcl:comment:7279729031 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1060#issuecomment-7279729031). Originally posted by [vakaobr](https://github.com/vakaobr) on 2026-11-30T13:21:31Z. --- Closing, although it has two `safe to merge` checks (thank you @BBareth and @Elytes). Since #1329, D3DMetal gets a video-memory copy of the window instead of the `OpenExistingHeapFromAddress` error, so this skip never fires. On `main` `9dfbe3e` with this PR merged, on a Mac, `gpu_unified_memory_arena`, `gpu_mesh_mode_reads_memory_windows` and `gpu_bvh64_intersect_ray_across_memory_windows_and_grazing` run and pass without skipping. The other three tests it touches stop on a Mac for an unrelated reason (`UMul` in Apple's shader converter), which #3525 fixes.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!1053
No description provided.