Tests: time the emulated BVH walk against DXR RayQuery (#1751) #1815

Open
github-bot wants to merge 1 commit from github-bot/gh-1815 into main AGit
Owner

@⁠marquezinii on GitHub · 2026-11-24 21:04 UTC · original
marquezinii:tests/rt-host-dxr-bench → main · +396 −0 · 1 files · 1 commits · open

#1751 proposes building host DXR structures from the title's inputs and tracing its rays with inline RayQuery instead of the emulated walk, and asks first for the GPU time of the two paths on the same scene. This adds an ignored GPU test that measures it.

The scene is a terrain of triangles (256 × 256 quads by default, XCL_BENCH_GRID to change). It is built twice:

  • once as a console BVH with bvh::build, walked with a short stack and the translator's own bvh_intersect, taken out of a translation of IMAGE_BVH_INTERSECT_RAY so it is the code titles run;
  • once as a DXR BLAS + TLAS, traced with RayQuery.

Both trace the same rays: 1024 × 1024 by default (XCL_BENCH_RAYS), first coherent camera rays, then incoherent random directions as GI or shadow rays would be. Both must find the same closest t on 99.9 % of the rays. The test prints the GPU time of each (timestamps, best of 5) and the BLAS build time.

Part of #1751.

What is in it

  • crates/xcl/src/gpu/recomp/tests.rs: gpu_bvh_host_dxr_vs_emulated_traversal (#[ignore], a measurement like blob_dxc_cost); runs on the adapter the other GPU tests use (XCL_ADAPTER) and prints its name; skips without DXC, a GPU or DXR 1.1.

Tested

  • NVIDIA GeForce RTX 5070 12 GB, driver 621.40; Ryzen 5 5600X; Windows 11 Pro 26300; Rust 1.99.1 MSVC; DXC 1.9.2602.17; debug.
  • cargo test -p xcl --lib gpu_bvh_host_dxr_vs_emulated_traversal -- --ignored --nocapture, two runs per scene size, 1 048 576 rays per run:
scene rays emulated walk host RayQuery ratio same closest t
131 072 triangles coherent 0.809–0.812 ms 0.094–0.106 ms 7.6–8.7× 1 048 566 of 1 048 576
131 072 triangles incoherent 2.733–2.740 ms 0.149–0.150 ms 18.3–18.4× 1 048 575
524 288 triangles coherent 1.015–1.023 ms 0.100–0.112 ms 9.1–10.2× 1 048 558
524 288 triangles incoherent 3.147–3.148 ms 0.192–0.240 ms 13.1–16.4× 1 048 576
  • The device follows XCL_ADAPTER (since 291c4c4, after @⁠futurepro62 found the label could name another GPU than the one measured): XCL_ADAPTER=warp prints WARP (software renderer) with WARP's own times (RayQuery 0.2–0.4× the emulated walk there, 2048 triangles), and an adapter that matches nothing skips with no GPU. Default adapter, same numbers as above: 8.6× / 15.2×.

  • @⁠futurepro62's runs on 291c4c4 (comment), two runs per GPU:

    GPU coherent incoherent
    RTX 5070 Ti 8.7× 14.2–16.1×
    AMD Radeon iGPU (RDNA2, Ryzen 7 9800X3D, XCL_ADAPTER=radeon) 5.0× 4.0×

    On the iGPU the host BLAS was 20.8 MB and took 34 ms to build. The same closest t on 1 048 567 / 1 048 576 rays there.

  • 948c842 is 291c4c4 rebased onto main cbc296a: the conflict was only both sides appending at the end of tests.rs, and the test is unchanged. cargo test --workspace --no-run builds. The GPU was in use by another run here, so the suite on this head is left to CI.

  • Console BVH 19.1 MB / host BLAS 7.9 MB at 131 072 triangles (76.5 / 31.7 MB at 524 288); BLAS + TLAS build 0.54–0.63 ms (1.25–1.49 ms).

  • cargo test --workspace -- --test-threads=4 on 291c4c4: 891 passed, 0 failed, 43 ignored. SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (cannot disable the driver cache).

How to read it: the emulated side here is an idealised walk written directly in HLSL. A title's translated traversal also runs its guest loop, stack and EXEC bookkeeping (and the split wave64 form on 32-lane GPUs), so it does more work per node than this. The ratio above is what the node test and walk alone cost against the hardware, not a title's numbers. The closest-hit agreement says the console BVH from bvh::build and the host structure describe the same geometry. It does not cover #1751's hit-equivalence mapping (barycentric permutation, instance and primitive ids).

Regression run
Not needed: test-only (tests.rs only).

Not tested

  • Discrete AMD and Intel GPUs (the RDNA2 iGPU above is the only AMD number), wave64 hardware.
  • Instances, transforms, alpha-tested (non-opaque) geometry and a title's own traversal programs.

AI use

  • Claude Code (Claude Opus 5.5): wrote the test and this description, and ran the measurements and the test suite on the hardware above.
**@⁠marquezinii** on GitHub · 2026-11-24 21:04 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815) `marquezinii:tests/rt-host-dxr-bench` → `main` · +396 −0 · 1 files · 1 commits · open #1751 proposes building host DXR structures from the title's inputs and tracing its rays with inline `RayQuery` instead of the emulated walk, and asks first for the GPU time of the two paths on the same scene. This adds an ignored GPU test that measures it. The scene is a terrain of triangles (256 × 256 quads by default, `XCL_BENCH_GRID` to change). It is built twice: - once as a console BVH with `bvh::build`, walked with a short stack and the translator's own `bvh_intersect`, taken out of a translation of `IMAGE_BVH_INTERSECT_RAY` so it is the code titles run; - once as a DXR BLAS + TLAS, traced with `RayQuery`. Both trace the same rays: 1024 × 1024 by default (`XCL_BENCH_RAYS`), first coherent camera rays, then incoherent random directions as GI or shadow rays would be. Both must find the same closest t on 99.9 % of the rays. The test prints the GPU time of each (timestamps, best of 5) and the BLAS build time. Part of #1751. **What is in it** - `crates/xcl/src/gpu/recomp/tests.rs`: `gpu_bvh_host_dxr_vs_emulated_traversal` (`#[ignore]`, a measurement like `blob_dxc_cost`); runs on the adapter the other GPU tests use (`XCL_ADAPTER`) and prints its name; skips without DXC, a GPU or DXR 1.1. **Tested** - NVIDIA GeForce RTX 5070 12 GB, driver 621.40; Ryzen 5 5600X; Windows 11 Pro 26300; Rust 1.99.1 MSVC; DXC 1.9.2602.17; debug. - `cargo test -p xcl --lib gpu_bvh_host_dxr_vs_emulated_traversal -- --ignored --nocapture`, two runs per scene size, 1 048 576 rays per run: | scene | rays | emulated walk | host `RayQuery` | ratio | same closest t | |---|---|---|---|---|---| | 131 072 triangles | coherent | 0.809–0.812 ms | 0.094–0.106 ms | 7.6–8.7× | 1 048 566 of 1 048 576 | | 131 072 triangles | incoherent | 2.733–2.740 ms | 0.149–0.150 ms | 18.3–18.4× | 1 048 575 | | 524 288 triangles | coherent | 1.015–1.023 ms | 0.100–0.112 ms | 9.1–10.2× | 1 048 558 | | 524 288 triangles | incoherent | 3.147–3.148 ms | 0.192–0.240 ms | 13.1–16.4× | 1 048 576 | - The device follows `XCL_ADAPTER` (since `291c4c4`, after @⁠futurepro62 found the label could name another GPU than the one measured): `XCL_ADAPTER=warp` prints `WARP (software renderer)` with WARP's own times (RayQuery 0.2–0.4× the emulated walk there, 2048 triangles), and an adapter that matches nothing skips with `no GPU`. Default adapter, same numbers as above: 8.6× / 15.2×. - @⁠futurepro62's runs on `291c4c4` ([comment](https://git.gtahub.st/github/xcl-dev--xcl/pulls/1815)), two runs per GPU: | GPU | coherent | incoherent | |---|---|---| | RTX 5070 Ti | 8.7× | 14.2–16.1× | | AMD Radeon iGPU (RDNA2, Ryzen 7 9800X3D, `XCL_ADAPTER=radeon`) | 5.0× | 4.0× | On the iGPU the host BLAS was 20.8 MB and took 34 ms to build. The same closest t on 1 048 567 / 1 048 576 rays there. - `948c842` is `291c4c4` rebased onto `main` `cbc296a`: the conflict was only both sides appending at the end of `tests.rs`, and the test is unchanged. `cargo test --workspace --no-run` builds. The GPU was in use by another run here, so the suite on this head is left to CI. - Console BVH 19.1 MB / host BLAS 7.9 MB at 131 072 triangles (76.5 / 31.7 MB at 524 288); BLAS + TLAS build 0.54–0.63 ms (1.25–1.49 ms). - `cargo test --workspace -- --test-threads=4` on `291c4c4`: 891 passed, 0 failed, 43 ignored. SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (cannot disable the driver cache). How to read it: the emulated side here is an idealised walk written directly in HLSL. A title's translated traversal also runs its guest loop, stack and EXEC bookkeeping (and the split wave64 form on 32-lane GPUs), so it does more work per node than this. The ratio above is what the node test and walk alone cost against the hardware, not a title's numbers. The closest-hit agreement says the console BVH from `bvh::build` and the host structure describe the same geometry. It does not cover #1751's hit-equivalence mapping (barycentric permutation, instance and primitive ids). **Regression run** Not needed: test-only (`tests.rs` only). **Not tested** - Discrete AMD and Intel GPUs (the RDNA2 iGPU above is the only AMD number), wave64 hardware. - Instances, transforms, alpha-tested (non-opaque) geometry and a title's own traversal programs. **AI use** - Claude Code (Claude Opus 5.5): wrote the test and this description, and ran the measurements and the test suite on the hardware above.
tracing its rays with inline RayQuery; its first open question is the
GPU time of the two paths on the same scene. This ignored GPU test
measures it: a terrain of triangles, built once as a console BVH with
bvh::build and walked with a short stack and the translator's own
bvh_intersect (taken from a translation of image_bvh_intersect_ray), and
once as a DXR BLAS + TLAS traced with RayQuery. Both must find the same
closest t on 99.9 % of the rays; it prints the GPU time of each
(timestamps, best of 5) for coherent camera rays and incoherent random
ones, and the BLAS build time.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:06:07 +00:00
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 22:21 UTC · original

Full-suite run, since this PR has no test report yet. Tested exact head 8370b95 (on its base 4178e88).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record: 889 passed, 0 failed, 43 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new test is #[ignore], so I ran it on its own: cargo test -p xcl --lib -- --ignored --exact gpu::recomp::tests::gpu_bvh_host_dxr_vs_emulated_traversal --nocapture: passed.
    NVIDIA GeForce RTX 5070 Ti: 131072 triangles; console BVH 19114 KB, host BLAS 7918 KB built in 0.56 ms; 1048576 rays per run
    coherent (camera): emulated 0.591 ms (1773 Mrays/s), host RayQuery 0.074 ms (14235 Mrays/s), 8.0x; 661973 hits; same closest t on 1048566 of 1048576 rays
    incoherent (random directions): emulated 1.936 ms (542 Mrays/s), host RayQuery 0.137 ms (7640 Mrays/s), 14.1x; 960895 hits; same closest t on 1048575 of 1048576 rays
    
  • The adapter name can be wrong. With XCL_ADAPTER=radeon the test printed AMD Radeon(TM) Graphics: ..., but with the same numbers as above (emulated 0.593 / 1.939 ms, RayQuery 0.074 / 0.142 ms). The test makes its device with D3D12CreateDevice(None, ...), the default adapter (the RTX 5070 Ti here), while the label comes from runner::adapter(), which follows XCL_ADAPTER. So both measurements ran on the NVIDIA card and the second was labelled as the iGPU. Creating the device on the adapter runner picks, or printing the device's own adapter description, would keep the label honest. I have no numbers for the iGPU itself.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 891 passed, 0 failed, 43 ignored. SKIPPED: heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)).
  • Two tests were skipped with --skip on NVIDIA. Both fail on main 7f7e768 too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns their skips into failures. heap_window_out_of_memory_falls_back_to_the_switch_form skips when XCL_HEAP_WINDOWS is unset (#1651), and shaders::tests::pso_measurement_compiles_an_exact_synthetic_record skips because Developer Mode was off on this PC (it cannot disable the driver cache). The AMD run does not set XCL_REQUIRE_GPU, so there both just print SKIPPED.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 22:21 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7146124258) Full-suite run, since this PR has no test report yet. Tested exact head `8370b95` (on its base `4178e88`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip pso_measurement_compiles_an_exact_synthetic_record`: **889 passed, 0 failed, 43 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new test is `#[ignore]`, so I ran it on its own: `cargo test -p xcl --lib -- --ignored --exact gpu::recomp::tests::gpu_bvh_host_dxr_vs_emulated_traversal --nocapture`: **passed**. ``` NVIDIA GeForce RTX 5070 Ti: 131072 triangles; console BVH 19114 KB, host BLAS 7918 KB built in 0.56 ms; 1048576 rays per run coherent (camera): emulated 0.591 ms (1773 Mrays/s), host RayQuery 0.074 ms (14235 Mrays/s), 8.0x; 661973 hits; same closest t on 1048566 of 1048576 rays incoherent (random directions): emulated 1.936 ms (542 Mrays/s), host RayQuery 0.137 ms (7640 Mrays/s), 14.1x; 960895 hits; same closest t on 1048575 of 1048576 rays ``` - **The adapter name can be wrong.** With `XCL_ADAPTER=radeon` the test printed `AMD Radeon(TM) Graphics: ...`, but with the same numbers as above (emulated 0.593 / 1.939 ms, RayQuery 0.074 / 0.142 ms). The test makes its device with `D3D12CreateDevice(None, ...)`, the default adapter (the RTX 5070 Ti here), while the label comes from `runner::adapter()`, which follows `XCL_ADAPTER`. So both measurements ran on the NVIDIA card and the second was labelled as the iGPU. Creating the device on the adapter `runner` picks, or printing the device's own adapter description, would keep the label honest. I have no numbers for the iGPU itself. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **891 passed, 0 failed, 43 ignored**. SKIPPED: `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)). - Two tests were skipped with `--skip` on NVIDIA. Both fail on main `7f7e768` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns their skips into failures. `heap_window_out_of_memory_falls_back_to_the_switch_form` skips when `XCL_HEAP_WINDOWS` is unset (#1651), and `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` skips because Developer Mode was off on this PC (it cannot disable the driver cache). The AMD run does not set `XCL_REQUIRE_GPU`, so there both just print SKIPPED. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠marquezinii on GitHub · 2026-11-24 22:42 UTC · original

@⁠futurepro62 thanks for the full run and for the second GPU. The adapter catch is right: the device came from D3D12CreateDevice(None, …), but the label came from runner::adapter(). Fixed in 291c4c4 (squashed into the one commit). The test now picks the adapter the way runner does, with XCL_ADAPTER through gpu::adapter::candidates, WARP included, then creates the device on it with agility::create_device and prints that adapter's name.

Checked here (RTX 5070):

  • With no XCL_ADAPTER: NVIDIA GeForce RTX 5070, 8.6× coherent and 15.2× incoherent, as before.
  • XCL_ADAPTER=warp: WARP (software renderer) with WARP's own times (RayQuery 0.2–0.4× the emulated walk, small scene), so the device really follows the setting.
  • XCL_ADAPTER=nosuchgpu: skips with no GPU.
  • cargo test --workspace -- --test-threads=4: 891 passed, 0 failed, 43 ignored.

If you rerun it with XCL_ADAPTER=radeon, that would give the first iGPU (RDNA2, with ray accelerators) numbers.

AI use: Claude Code (Claude Opus 5.5) made the fix, ran the checks and drafted this reply.

**@⁠marquezinii** on GitHub · 2026-11-24 22:42 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7146545930) @⁠futurepro62 thanks for the full run and for the second GPU. The adapter catch is right: the device came from `D3D12CreateDevice(None, …)`, but the label came from `runner::adapter()`. Fixed in `291c4c4` (squashed into the one commit). The test now picks the adapter the way `runner` does, with `XCL_ADAPTER` through `gpu::adapter::candidates`, WARP included, then creates the device on it with `agility::create_device` and prints that adapter's name. Checked here (RTX 5070): - With no `XCL_ADAPTER`: `NVIDIA GeForce RTX 5070`, 8.6× coherent and 15.2× incoherent, as before. - `XCL_ADAPTER=warp`: `WARP (software renderer)` with WARP's own times (RayQuery 0.2–0.4× the emulated walk, small scene), so the device really follows the setting. - `XCL_ADAPTER=nosuchgpu`: skips with `no GPU`. - `cargo test --workspace -- --test-threads=4`: 891 passed, 0 failed, 43 ignored. If you rerun it with `XCL_ADAPTER=radeon`, that would give the first iGPU (RDNA2, with ray accelerators) numbers. **AI use:** Claude Code (Claude Opus 5.5) made the fix, ran the checks and drafted this reply.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 00:28 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 00:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7148542213) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~23 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-25 00:47 UTC · original

@⁠marquezinii reran gpu::recomp::tests::gpu_bvh_host_dxr_vs_emulated_traversal at 291c4c4 on both GPUs, twice each. The label now follows XCL_ADAPTER.

adapter printed host BLAS coherent incoherent
no XCL_ADAPTER NVIDIA GeForce RTX 5070 Ti 7918 KB, 0.56 ms 0.60 → 0.069 ms, 8.7× 1.95 → 0.12–0.14 ms, 14.2–16.1×
XCL_ADAPTER=radeon AMD Radeon(TM) Graphics (RDNA2 iGPU, Ryzen 7 9800X3D) 20821 KB, 34 ms 20.0–20.2 → 4.04 ms, 5.0× 73.8 → 18.6 ms, 4.0×

Both: 661973 / 960895 hits. Same closest t on 1048566 (NVIDIA) and 1048567 (AMD) of 1048576 coherent rays, and 1048575 (NVIDIA) and 1048576 (AMD) incoherent.

Tested: cargo build --workspace, then cargo test -p xcl --lib -- --ignored --exact gpu::recomp::tests::gpu_bvh_host_dxr_vs_emulated_traversal --nocapture, with and without XCL_ADAPTER=radeon. NVIDIA driver 621.40, Windows 11, Rust 1.100.0 MSVC, debug.

Not tested: the full suite at this head (it ran at the previous head), release build.

AI-assisted (Claude Code).

**@⁠futurepro62** on GitHub · 2026-11-25 00:47 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7148884704) @⁠marquezinii reran `gpu::recomp::tests::gpu_bvh_host_dxr_vs_emulated_traversal` at `291c4c4` on both GPUs, twice each. The label now follows `XCL_ADAPTER`. | | adapter printed | host BLAS | coherent | incoherent | |---|---|---|---|---| | no `XCL_ADAPTER` | NVIDIA GeForce RTX 5070 Ti | 7918 KB, 0.56 ms | 0.60 → 0.069 ms, **8.7×** | 1.95 → 0.12–0.14 ms, **14.2–16.1×** | | `XCL_ADAPTER=radeon` | AMD Radeon(TM) Graphics (RDNA2 iGPU, Ryzen 7 9800X3D) | 20821 KB, 34 ms | 20.0–20.2 → 4.04 ms, **5.0×** | 73.8 → 18.6 ms, **4.0×** | Both: 661973 / 960895 hits. Same closest t on 1048566 (NVIDIA) and 1048567 (AMD) of 1048576 coherent rays, and 1048575 (NVIDIA) and 1048576 (AMD) incoherent. **Tested:** `cargo build --workspace`, then `cargo test -p xcl --lib -- --ignored --exact gpu::recomp::tests::gpu_bvh_host_dxr_vs_emulated_traversal --nocapture`, with and without `XCL_ADAPTER=radeon`. NVIDIA driver 621.40, Windows 11, Rust 1.100.0 MSVC, debug. **Not tested:** the full suite at this head (it ran at the previous head), release build. AI-assisted (Claude Code).
Author
Owner

@⁠raylitebull on GitHub · 2026-11-25 02:11 UTC · original

Reviewed 291c4c4 (#[ignore] benchmark in crates/xcl/src/gpu/recomp/tests.rs) and approved the action_required CI run.

Both NVIDIA (RTX 5070 / RTX 5070 Ti) and AMD (Radeon iGPU) runs are already verified on 291c4c4. Once rebased onto main to resolve the tests.rs conflict and CI goes green, this will be ready to merge.

**@⁠raylitebull** on GitHub · 2026-11-25 02:11 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7150422561) Reviewed `291c4c4` (`#[ignore]` benchmark in `crates/xcl/src/gpu/recomp/tests.rs`) and approved the `action_required` CI run. Both NVIDIA (`RTX 5070` / `RTX 5070 Ti`) and AMD (`Radeon iGPU`) runs are already verified on `291c4c4`. Once rebased onto `main` to resolve the `tests.rs` conflict and CI goes green, this will be ready to merge.
Author
Owner

@⁠marquezinii on GitHub · 2026-11-25 04:31 UTC · original

@⁠raylitebull thanks for the review and for approving the CI run. Rebased onto main cbc296a as 948c842. The conflict was only both sides appending a test at the end of tests.rs, so I kept both, and this test is unchanged from 291c4c4. It builds here (cargo test --workspace --no-run). Another run had the GPU, so I've left the suite on this head to CI.

@⁠futurepro62 thank you for the rerun, and for the first AMD numbers. 5.0× / 4.0× on an RDNA2 iGPU, which has its own ray accelerators, against 8.7× / 14–16× on the 5070 Ti, is the kind of spread the description guessed at. Both are in Tested now, with a link.

AI use: Claude Code (Claude Opus 5.5) did the rebase and drafted this reply.

**@⁠marquezinii** on GitHub · 2026-11-25 04:31 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7152923214) @⁠raylitebull thanks for the review and for approving the CI run. Rebased onto `main` `cbc296a` as `948c842`. The conflict was only both sides appending a test at the end of `tests.rs`, so I kept both, and this test is unchanged from `291c4c4`. It builds here (`cargo test --workspace --no-run`). Another run had the GPU, so I've left the suite on this head to CI. @⁠futurepro62 thank you for the rerun, and for the first AMD numbers. 5.0× / 4.0× on an RDNA2 iGPU, which has its own ray accelerators, against 8.7× / 14–16× on the 5070 Ti, is the kind of spread the description guessed at. Both are in **Tested** now, with a link. **AI use:** Claude Code (Claude Opus 5.5) did the rebase and drafted this reply.
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 04:38 UTC · original

XCL PR #1815 verification

Tested the fetched PR head 948c842ffdf1866aaac398b79c407d1a940eee9b in a clean detached worktree. It superseded the assignment’s expected 291c4c45a1a9d67b1fb1f8f02c3b88d9abdd16ff. The diff adds one ignored benchmark in crates/xcl/src/gpu/recomp/tests.rs.

Tested

  • STOR-WINLAB with AMD Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175, Windows 11 Enterprise Evaluation x64 build 26200, DXC 1.9.2609.5, and rustc 1.100.0 (0ef1bc386 2026-11-09) for x86_64-pc-windows-msvc.
  • cargo build --workspace and cargo test --workspace --no-run succeeded outside the GPU lock (unoptimized dev/test profiles, incremental and debuginfo disabled).
  • cargo test -p xcl --lib gpu_bvh_host_dxr_vs_emulated_traversal -- --ignored --nocapture under Invoke-ArcTest.ps1 with XCL_ADAPTER=A770, XCL_BENCH_GRID=256, and XCL_BENCH_RAYS=1024 gave 1 passed, 0 failed, 0 ignored, 0 skips. The 131,072-triangle terrain used a 19,114 KB console BVH and an 18,022 KB host BLAS built in 1.61 ms.
  • Coherent camera rays, best of five GPU dispatches. Emulated traversal took 0.687 ms (1,525 Mrays/s) and DXR RayQuery took 0.871 ms (1,204 Mrays/s). The emulated/DXR time ratio was 0.8×. RayQuery found 661,973 hits. Closest-hit distance agreed on 1,048,566 of 1,048,576 rays.
  • Incoherent rays, best of five. Emulated traversal took 5.510 ms (190 Mrays/s) and RayQuery took 0.415 ms (2,527 Mrays/s), a 13.3× emulated/DXR time ratio. RayQuery found 960,895 hits. Agreement was 1,048,575 of 1,048,576.

Workspace failures and skips

  • cargo test --workspace --no-fail-fast -- --test-threads=4 under the same lock with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1 exited 101. pr1815-suite.log sums to 1,126 passed, 28 failed, 47 ignored across 21 result lines (20 test binaries and one doctest run). The benchmark is included in the ignored count.
  • 27 exact SKIPPED lines are excluded from coverage. Reasons include missing wave64, rejected wave32 DXIL, tiled resources tier, driver-cache controls, D3D12 debug layers, and heap windows.
  • The library had 27 failures, mostly CreateComputePipelineState returning 0x80070057. The e2e test title failed its RSSetDepthBiasX pixel check.

Not tested

Matched main baseline, retail-title smoke run, other GPUs, or other benchmark scenes. The origin of the suite failures remains unverified.

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1815-suite.log and published.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 04:38 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7153023575) # XCL PR #1815 verification Tested the fetched PR head `948c842ffdf1866aaac398b79c407d1a940eee9b` in a clean detached worktree. It superseded the assignment’s expected `291c4c45a1a9d67b1fb1f8f02c3b88d9abdd16ff`. The diff adds one ignored benchmark in `crates/xcl/src/gpu/recomp/tests.rs`. **Tested** - STOR-WINLAB with AMD Ryzen 7 3800X, Intel Arc A770 driver `32.0.101.9175`, Windows 11 Enterprise Evaluation x64 build `26200`, DXC `1.9.2609.5`, and rustc `1.100.0 (0ef1bc386 2026-11-09)` for `x86_64-pc-windows-msvc`. - `cargo build --workspace` and `cargo test --workspace --no-run` succeeded outside the GPU lock (unoptimized dev/test profiles, incremental and debuginfo disabled). - `cargo test -p xcl --lib gpu_bvh_host_dxr_vs_emulated_traversal -- --ignored --nocapture` under `Invoke-ArcTest.ps1` with `XCL_ADAPTER=A770`, `XCL_BENCH_GRID=256`, and `XCL_BENCH_RAYS=1024` gave 1 passed, 0 failed, 0 ignored, 0 skips. The 131,072-triangle terrain used a 19,114 KB console BVH and an 18,022 KB host BLAS built in 1.61 ms. - Coherent camera rays, best of five GPU dispatches. Emulated traversal took 0.687 ms (1,525 Mrays/s) and DXR RayQuery took 0.871 ms (1,204 Mrays/s). The emulated/DXR time ratio was 0.8×. RayQuery found 661,973 hits. Closest-hit distance agreed on 1,048,566 of 1,048,576 rays. - Incoherent rays, best of five. Emulated traversal took 5.510 ms (190 Mrays/s) and RayQuery took 0.415 ms (2,527 Mrays/s), a 13.3× emulated/DXR time ratio. RayQuery found 960,895 hits. Agreement was 1,048,575 of 1,048,576. **Workspace failures and skips** - `cargo test --workspace --no-fail-fast -- --test-threads=4` under the same lock with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1` exited 101. `pr1815-suite.log` sums to **1,126 passed, 28 failed, 47 ignored** across 21 result lines (20 test binaries and one doctest run). The benchmark is included in the ignored count. - 27 exact `SKIPPED ` lines are excluded from coverage. Reasons include missing wave64, rejected wave32 DXIL, tiled resources tier, driver-cache controls, D3D12 debug layers, and heap windows. - The library had 27 failures, mostly `CreateComputePipelineState` returning `0x80070057`. The e2e test title failed its `RSSetDepthBiasX` pixel check. **Not tested** Matched `main` baseline, retail-title smoke run, other GPUs, or other benchmark scenes. The origin of the suite failures remains unverified. **AI use** T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr1815-suite.log` and published.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 06:19 UTC · original

Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current main on the new head — needs another rebase before it can be tested.

**@⁠DavidM1911** on GitHub · 2026-11-26 06:19 UTC · [original](https://github.com/xcl-dev/xcl/pull/1815#issuecomment-7184325544) Re-verification on RTX 3060 Ti (Windows 11): still a **merge conflict with current `main`** on the new head — needs another rebase before it can be tested.
This pull request has changes conflicting with the target branch.
  • crates/xcl/src/gpu/recomp/tests.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1815/head:github-bot/gh-1815'
git switch 'github-bot/gh-1815'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1815'
git switch 'github-bot/gh-1815'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1815'
git switch 'github-bot/gh-1815'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1815'
git switch 'main'
git merge --squash 'github-bot/gh-1815'
git switch 'main'
git merge --ff-only 'github-bot/gh-1815'
git switch 'main'
git merge 'github-bot/gh-1815'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.