Repository navigation
Kemerd port, etap C: VICTORY_SEND_THREAD (off by default) - #5
Merged
Merged
Conversation
…m a thread of their own (off by default) From Kemerd/VIctory-NVIDIA-RT rt-test-11 (0549d44), GPL-3.0: host/send_thread.rs and its Host::submit hand-over (d06b7ab, Kemerd), the relay fetch waiting for it (8b40230, Kemerd) and the present waiting for it (4c0d0e9, D Everett Hinton). With late() (on by default here: the relay) the submitting thread hands the closed lists and the reserved fence value to victory-send, which executes, signals (also after a panic) and notes them, and goes on to the next submission. Every other path that puts work on the host queue waits for the thread first: card_before's sync list, the relay fetch on the host queue, the present, and in this tree also the synchronous submit branch and card_back (both take the next fence value) and the defrag counters' read. A frame-line counter says how many jobs the thread sent and how many came out of order. docs/KEMERD-AUDIT.md: section 7, and section 6 on why the refresh sets are held back (their steps come from by-address memory, the ray-tracing path). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SiiHe46xLWma3psWE1tgae
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.
Zakres
Etap C z planu A–C, robiony jako pierwszy, bo nie zależy od A i B. Szczegóły:
docs/KEMERD-AUDIT.md, punkt 7.VICTORY_SEND_THREAD=1(1ccd907): przy wysyłce z wyprzedzeniem (late()) gotowe listy i zarezerwowaną wartość fence przejmuje wątekvictory-send, przypięty do rdzeni P. Wątek submitujący od razu przygotowuje następną submisję.rt-test-11(0549d44c), GPL-3.0:d06b7abi8b40230(Kemerd),4c0d0e9(D Everett Hinton).wait_idle()także przed gałęzią synchronicznąHost::submit, przedcard_back(obie biorą kolejną wartość fence, która nie może zostać zasygnalizowana przed zadaniem z niższą) i przedread_defrag_counters.late()jest u nas aktywne domyślnie (relay włączony,late_stage() == 3). Do testu nie trzeba ustawiaćVICTORY_LATE_WAIT, aVICTORY_LATE_WAIT=1cofnęłoby relay do etapu 1.Etap A (
VICTORY_REFRESH_SET) wstrzymany: jego kroki pochodzą z pamięci po adresie (memory.rs, ścieżka RT). Przy RT OFF najpewniej nic nie da. Warunek sprawdzenia jest w audycie, punkt 6. Etap B osobno.Testy
cargo clippy --target x86_64-pc-windows-msvc --workspace --all-targets -- -D warningsOK, także z--all-features.host::send_thread::tests::*(kolejność zadań). Maszyny stanów z prawdziwymHostnie da się przetestować jednostkowo, potrzebny jest test w grze.Status benchmarku: otwarty.
Rollback
Nie ustawiać
VICTORY_SEND_THREAD. Albogit revert 1ccd907.Generated by Claude Code