docs: D3D-56 descriptor lookup numbers on RTX 3070 (Ampere, ReBAR off) (OLD-9801) #1802

Merged
Ch1mpleo merged 1 commit from upstream-pr/1802 into main 2026-11-29 18:28:35 +00:00
Ch1mpleo commented 2026-11-25 12:19:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Ch1mpleo on 2026-11-25T12:19:21Z.


Claimed in the coordination issue as: OLD-9801 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162208755)

What and why

Carries forward old-pr/9801 (draft #74, preserving Ramon Victor Cardoso's original commit) rebased onto current main. Adds docs/descriptor_lookup_ampere.md with D3D-56 descriptor lookup timings on RTX 3070 (Ampere, ReBAR off) and indexes it in docs/README.md.

Tested

  • python -I tests/test_docs_repeated_lines.py — 2 tests, OK (Windows 11 x64, Python 3.14.7).
  • python -I scripts/check_no_game_data.py docs/README.md docs/descriptor_lookup_ampere.md — exit 0.

GPUs tested: n/a (documentation only)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled
    eeds rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — documentation only)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5491192423 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1802). Originally posted by [Ch1mpleo](https://github.com/Ch1mpleo) on 2026-11-25T12:19:21Z. --- Claimed in the coordination issue as: OLD-9801 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162208755) ### What and why Carries forward old-pr/9801 (draft #74, preserving Ramon Victor Cardoso's original commit) rebased onto current main. Adds docs/descriptor_lookup_ampere.md with D3D-56 descriptor lookup timings on RTX 3070 (Ampere, ReBAR off) and indexes it in docs/README.md. ### Tested - python -I tests/test_docs_repeated_lines.py — 2 tests, OK (Windows 11 x64, Python 3.14.7). - python -I scripts/check_no_game_data.py docs/README.md docs/descriptor_lookup_ampere.md — exit 0. GPUs tested: n/a (documentation only) AI-assisted: yes ### Checklist - [x] Based on current main and merges cleanly (a conflicting pull request is labeled eeds rebase). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — documentation only)
PierreEbele commented 2026-11-25 19:41:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T19:41:02Z.


Reviewed 4c2666a7c: docs-only PR. Ran the nine docs tests on pr1802 and main (all pass), scripts/check_no_game_data.py (clean), and a probe recompute against vk_descriptor_bench.cpp: the 5.0x/14.2x/21.9x/22.6x ratios, the 29,124 timed-dispatch total, 16,777,216 lookups per dispatch, the slot/load/net-baseline numbers and the Ada cross-claims (1.45x-2.5x) all reproduce, and 5d74c27 matches main's bench except the LEONIDA_VK_DEVICE filter. Two minor wordings if you want them: BAR1 "within 0.5% in every cell" is 0.64% by the printed 100k uniform S# cell (15.8 vs 15.7; possibly rounding - worth checking the raw medians), and the Method's "25 timed dispatches" is 9 dispatches / 2 warmups for the guard-shortened cells (the two starred ones plus latency_divergent), as the Ada doc spells out. No GPU here, so the measurements themselves are taken on trust.

AI-assisted review.

Recommendation: Merge

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7172629780 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1802#issuecomment-7172629780). Originally posted by [PierreEbele](https://github.com/PierreEbele) on 2026-11-25T19:41:02Z. --- Reviewed 4c2666a7c: docs-only PR. Ran the nine docs tests on pr1802 and main (all pass), scripts/check_no_game_data.py (clean), and a probe recompute against vk_descriptor_bench.cpp: the 5.0x/14.2x/21.9x/22.6x ratios, the 29,124 timed-dispatch total, 16,777,216 lookups per dispatch, the slot/load/net-baseline numbers and the Ada cross-claims (1.45x-2.5x) all reproduce, and 5d74c27 matches main's bench except the LEONIDA_VK_DEVICE filter. Two minor wordings if you want them: BAR1 "within 0.5% in every cell" is 0.64% by the printed 100k uniform S# cell (15.8 vs 15.7; possibly rounding - worth checking the raw medians), and the Method's "25 timed dispatches" is 9 dispatches / 2 warmups for the guard-shortened cells (the two starred ones plus latency_divergent), as the Ada doc spells out. No GPU here, so the measurements themselves are taken on trust. AI-assisted review. **Recommendation:** Merge
zmasi commented 2026-11-29 00:08:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T00:08:12Z.


#1802 | head 4c2666a7ce (merged cleanly onto origin/main 829530dbd0) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes

Independent Verification (Windows 11)

  • Diff & safety audit: Inspected 100% of the diff across docs/README.md (+1/-0) and docs/descriptor_lookup_ampere.md (+68/-0). python -I scripts/check_no_game_data.py docs/README.md docs/descriptor_lookup_ampere.md passed (rc=0).
  • Merge & doc suite checks on #1802 + origin/main (829530dbd0):
    • Clean 3-way merge onto origin/main (829530dbd0), and clean combined 3-way merge alongside open PR #1730 (docs/README.md).
    • Scoped tests/test_docs_links.py and tests/test_docs_cli_flags.py checks on docs/README.md and docs/descriptor_lookup_ampere.md: 0 broken links (including descriptor_lookup_ada.md and descriptor_lookup_apple.md) and 0 unknown CLI flags.
    • python -I tests/test_docs_table_rows.py (2/2), tests/test_docs_repo_paths.py (5/5), tests/test_docs_encoding.py (1/1), tests/test_docs_list_items.py (3/3), and tests/test_docs_repeated_lines.py (3/3) all passed (OK).
  • Benchmark source & arithmetic cross-check:
    • Verified all 12 vk_descriptor_bench CLI flags referenced in the Method & PowerShell replay block (--list-devices, --self-test, --device, --memory, --sizes, --groups, --iters, --warmup, --reps, --warmup-ms, --csv, --max-dispatch-ms) and memory modes (device, host, rebar) match runtime/test/vk_descriptor_bench.cpp.
    • Verified denominator and row-count arithmetic (4,096 * 64 * 64 = 16,777,216 single-key logical lookups per dispatch, 33,554,432 paired lookups, and 11 scenarios * 3 sizes * 36 processes = 1,188 CSV rows).
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247900383 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1802#issuecomment-7247900383). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-29T00:08:12Z. --- #1802 | head 4c2666a7ceb5b81c112a9e2e2686a38cd6aec7eb (merged cleanly onto origin/main 829530dbd0) | Windows 11 (10.0.26200.9974), Python 3.12.10 | AI-assisted: yes ### Independent Verification (Windows 11) - **Diff & safety audit**: Inspected 100% of the diff across `docs/README.md` (`+1/-0`) and `docs/descriptor_lookup_ampere.md` (`+68/-0`). `python -I scripts/check_no_game_data.py docs/README.md docs/descriptor_lookup_ampere.md` passed (`rc=0`). - **Merge & doc suite checks on `#1802 + origin/main` (`829530dbd0`)**: - Clean 3-way merge onto `origin/main` (`829530dbd0`), and clean combined 3-way merge alongside open PR `#1730` (`docs/README.md`). - Scoped `tests/test_docs_links.py` and `tests/test_docs_cli_flags.py` checks on `docs/README.md` and `docs/descriptor_lookup_ampere.md`: `0` broken links (including `descriptor_lookup_ada.md` and `descriptor_lookup_apple.md`) and `0` unknown CLI flags. - `python -I tests/test_docs_table_rows.py` (`2/2`), `tests/test_docs_repo_paths.py` (`5/5`), `tests/test_docs_encoding.py` (`1/1`), `tests/test_docs_list_items.py` (`3/3`), and `tests/test_docs_repeated_lines.py` (`3/3`) all passed (`OK`). - **Benchmark source & arithmetic cross-check**: - Verified all 12 `vk_descriptor_bench` CLI flags referenced in the Method & PowerShell replay block (`--list-devices`, `--self-test`, `--device`, `--memory`, `--sizes`, `--groups`, `--iters`, `--warmup`, `--reps`, `--warmup-ms`, `--csv`, `--max-dispatch-ms`) and memory modes (`device`, `host`, `rebar`) match `runtime/test/vk_descriptor_bench.cpp`. - Verified denominator and row-count arithmetic (`4,096 * 64 * 64 = 16,777,216` single-key logical lookups per dispatch, `33,554,432` paired lookups, and `11 scenarios * 3 sizes * 36 processes = 1,188` CSV rows).
TheGeogeo commented 2026-11-29 17:12:44 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T17:12:44Z.


Tested 4c2666a7c merged (no commit) with main 0bc6e21a1: Python 3.12.4, Windows 11 10.0.26300, CPU only.

  • The change is docs only (docs/README.md, docs/descriptor_lookup_ampere.md), so no test can show a red.
  • No regression: the 13 tests/test_docs_*.py files (links, CLI flags, env vars, repo paths, tables, encoding and the rest) all pass on main and on the merge.
  • No game data check passes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7259511588 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1802#issuecomment-7259511588). Originally posted by [TheGeogeo](https://github.com/TheGeogeo) on 2026-11-29T17:12:44Z. --- Tested 4c2666a7c merged (no commit) with main 0bc6e21a1: Python 3.12.4, Windows 11 10.0.26300, CPU only. - The change is docs only (`docs/README.md`, `docs/descriptor_lookup_ampere.md`), so no test can show a red. - No regression: the 13 `tests/test_docs_*.py` files (links, CLI flags, env vars, repo paths, tables, encoding and the rest) all pass on main and on the merge. - No game data check passes. AI-assisted (Claude Code).
DadaCap commented 2026-11-29 18:28:37 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-29T18:28:37Z.


Thank you! Merged into main with a merge commit. It was verified ready on its current head (4c2666a7c) by MoonEyes' agent (results doc review); see the verification comment above. (AI-assisted, posted for DadaCap.)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7260513157 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1802#issuecomment-7260513157). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-29T18:28:37Z. --- Thank you! Merged into `main` with a merge commit. It was verified ready on its current head (4c2666a7c) by MoonEyes' agent (results doc review); see the verification comment above. (AI-assisted, posted for DadaCap.)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1802
No description provided.