Skip to content

docs: measure native wave32 compute on app-local WARP 1.0.22 (#3160 stage 1) - #3166

Merged
tedin7 merged 4 commits into
R0Y00:mainfrom
Not-Saii:docs/native-compute-warp
Nov 27, 2026
Merged

tedin7 merged 4 commits into
R0Y00:mainfrom
Not-Saii:docs/native-compute-warp

Conversation

@Not-Saii

Copy link
Copy Markdown
Contributor

Change

Adds docs/experiments/native-compute-warp.md, the stage 1 measurement for #3160. The change is documentation only: no translator, test or CMake changes.

The measurement changed the plan. On Windows 11 build 26300, WARP 1.0.22 placed beside the EXE and loaded by the in-box D3D12 runtime already provides 4-to-128-lane waves. The export-based Agility load fails on this machine with 0x887E0003. So the native compute executables get no Agility wiring: here it would turn passing tests into failing ones.

Results

Test In-box runtime + WARP 1.0.22
native_comparison_pso_warp pass (PSO creation only)
native_heap_handle_probe_warp pass
native_global_srv_heap_replay_warp pass
startup_compute_dispatch_native_warp fail: dispatched, output unwritten (0xc5c5c5c5, 288 words)
native_startup_request_cache_warp fail: compute dispatch output mismatch
shader_wave32_warp pass (forced width 32)
bvh_wave64_warp fail at field 25, the field #145 reports, with a different value (source lane 19; #145 decoded to 27)
  • Heap-probe and heap-replay binaries with the DLL removed: (4..4) lanes, skip 77.
  • Options unset: the five native tests behave as on main, four skips (77) and one pass through the 4-lane branch.
  • Negative control: one wrong expected word in native_global_srv_heap_replay.cpp (local, reverted) fails with mismatch word 5: got 0xa0000005 expected 0xa0000004.
  • startup_compute_dispatch_warp (HLSL module, same stand-in) passes on WARP 1.0.22.
  • startup_compute_dispatch_native_hardware and native_startup_request_cache_hardware pass on the RTX 4090 (driver 32.0.16.1088), so the two stand-in failures are WARP-only.

Commands

cmake --preset dev -B out/build/warp122 "-DOFFSCREEN_AGILITY_620_DIR=<agility dir>" "-DOFFSCREEN_WARP_DIR=<warp>/build/native/bin/x64"
cmake --build out/build/warp122 --target compile_dxil native_recording_check native_heap_handle_probe native_global_srv_heap_replay
ctest --test-dir out/build/warp122 --no-tests=error -j1 -V -R '^native_(comparison_pso|heap_handle_probe|global_srv_heap_replay)_warp$'

The stand-in and gate tests need offscreen_check and startup_stream_consumer, which don't compile with the Agility option on main. That is the 40-byte view-description static_assert from #2532, filed as #3165. I measured them in an options-unset build with d3d10warp.dll copied in by hand; the note has the commands.

tests/docs_links_check.py and tests/bidi_controls_check.py pass.

Environment

Commit 88cddb09. Windows 11 build 26300, in-box D3D12Core.dll 10.0.26100.9818. MSVC 14.44.35207, Windows SDK 10.0.26100, Debug build. WARP 1.0.22 and Agility 1.620.2 come from the Microsoft-signed NuGet packages, not committed. RTX 4090 (driver 32.0.16.1088) only for the two stand-in _hardware runs.

Open

Refs #3160

AI-assisted.

🤖 Generated with Claude Code

Not-Saii and others added 3 commits November 27, 2026 21:38
Stage 1 of R0Y00#3160. On Windows 11 build 26300 the app-local d3d10warp.dll
1.0.22, loaded by the in-box D3D12 runtime, gives 4-to-128-lane waves.
Three native compute _warp tests pass without any wiring. The two
stand-in tests dispatch but write no output, and the export-based
Agility load fails on this machine, so no Agility wiring is added.
The note also records that the opt-in Agility build does not compile
on main (40-byte view-description static_assert).

Refs R0Y00#3160

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ments

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dware)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of 49b4447, a docs-only change (one new file, docs/experiments/native-compute-warp.md). Comment only.

The note keeps measurements, controls and open questions apart: the renamed-DLL control and the one-word negative control show that the app-local WARP passes are real comparisons, the two stand-in failures are reported with their failing words and left open, and the unknowns (cause of the export-path 0x887E0003, #145 on native compute) are labelled as such. The statement that every direct compute module declares wave size 32 matches src/dxil_module.h on main, and the 4-lane in-box WARP matches what our own WARP runs see (the native _warp/_hardware legs skip there). No code, test or CMake change, so nothing for a Windows run to verify.

Commands: git diff origin/main...pull/3166/head (read), git grep -n wave origin/main -- src/dxil_module.h.

AI-assisted; commands listed were executed locally.

@tedin7
tedin7 merged commit 8e8b349 into R0Y00:main Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants