Skip to content

Offline verdicts name the GPU that answered - #10

Merged
MagiccConch merged 2 commits into
mainfrom
find-3/device-verdicts
Nov 24, 2026
Merged

MagiccConch merged 2 commits into
mainfrom
find-3/device-verdicts

Conversation

@MagiccConch

Copy link
Copy Markdown
Owner

Task FIND-3 of coordination issue Marvisak#1633, alongside the adapter-choice concerns in Marvisak#1630.

The gap: victory translate --pipelines / --pairs printed verdicts — pipeline created, pipeline: …, validated — about "the GPU" without naming it. A report from a machine whose D3D12 device was WARP (or a laptop's integrated part) could not be told from one taken on a discrete card.

The fix:

  • Host::new now asks the device's own adapter (IDXGIDevice::GetAdapter → IDXGIAdapter1::GetDesc1) what DXGI calls it, and carries that as Host::name. Going through the device makes the name honest in both paths — the default adapter and VICTORY_WARP=1 (which reports the Basic Render Driver, not the card D3D12 would have picked).
  • translate prints it once in the census, beside the per-stage counts, whenever a device was made:
containers   1240 (13 duplicates skipped)
programs     914 translated of 980 (…)
DXIL         812 emitted …
             …compute…
             …mesh…
device       NVIDIA GeForce RTX 5070 Ti

cargo clippy (msvc target, all targets, -D warnings) passes; the name is read at device creation, so per-thread hosts for pipeline creation add no per-job cost.

Co-authored by: openhands (AI agent, OpenHands) on behalf of the user.

Task FIND-2 of the coordination issue (Marvisak#1633). A sampled
texture that no write-watch covers is change-checked by hashing its whole
memory with BLAKE3 on every submission: in the world that is 19-29 ms of a
frame (Marvisak#400) answering a yes/no question, with BLAKE3's compute several
times the cost of the read it guards.

The check now runs a two-lane splitmix64 digest at the speed of the read.
It answers nothing but "did these bytes change" - it is never stored or
named - so the trade is BLAKE3's exactness for memory bandwidth: a change
that keeps the same digest happens about one submission in 2^64 per
texture, and a stale texture would show as never-updated art, which no
cheaper comparison than a real one can risk less than.

Tests cover determinism, every single-byte flip of a 4 KiB buffer, sampled
bit flips of 1 MiB, length and trailing-zero sensitivity, capacity
independence, and 100,000 successive rewrites of a 64 KiB frame. BLAKE3
stays for everything that is stored: the shader cache and the pipeline
library.

Co-authored-by: openhands <openhands@all-hands.dev>
Task FIND-3 of the coordination issue (Marvisak#1633). A verdict
about a device - "pipeline created", "pipeline: ...", "validated" - spoke
of "the GPU" without naming it, so a report from a machine with a WARP
device or a laptop's integrated part could not be told from one taken on
a discrete card.

Host::new now asks the device's own adapter (IDXGIDevice::GetAdapter)
what DXGI calls it, so the name is honest whether the default was picked
or WARP was asked for; translate prints it in the census, beside the
per-stage counts, whenever a device was made to make pipelines.

Co-authored-by: openhands <openhands@all-hands.dev>
@MagiccConch

Copy link
Copy Markdown
Owner Author

done: FIND-3 -> #10 (claim protocol per Marvisak#1633; the agent's token cannot post on Marvisak/VIctory, so the done: marker is recorded here)

@MagiccConch
MagiccConch marked this pull request as ready for review November 24, 2026 21:40
@MagiccConch
MagiccConch merged commit 3421f2b into main Nov 24, 2026
1 check 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