Repository navigation
Offline verdicts name the GPU that answered - #10
Merged
Merged
Conversation
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>
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
marked this pull request as ready for review
November 24, 2026 21:40
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.
Task FIND-3 of coordination issue Marvisak#1633, alongside the adapter-choice concerns in Marvisak#1630.
The gap:
victory translate --pipelines/--pairsprinted 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::newnow asks the device's own adapter (IDXGIDevice::GetAdapter→IDXGIAdapter1::GetDesc1) what DXGI calls it, and carries that asHost::name. Going through the device makes the name honest in both paths — the default adapter andVICTORY_WARP=1(which reports the Basic Render Driver, not the card D3D12 would have picked).translateprints it once in the census, beside the per-stage counts, whenever a device was made: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.