rdna2spirv: f16 interp deltas and toward-zero p2 narrow (SHADER-468) #1181

Merged
whoalin1 merged 2 commits from upstream-pr/1181 into main 2026-11-29 03:36:38 +00:00
whoalin1 commented 2026-11-24 19:42:37 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-24T19:42:37Z.


Claimed in the coordination issue as: SHADER-468 (claim)

Depends on: none

What and why

For a 16-bit (f16) interpolation channel, the SPI writes the P10/P20 delta words as per-half f16 differences of the two packed halves, and v_interp_p2_f16 narrows its result toward zero (the driver's ISA runs the pair inside s_round_mode 0x000c, MODE.FP16_ROUND toward zero — LLVM's SIModeRegister documents the same requirement). The translation used the f32 difference of the decoded halves and narrowed to nearest even.

Measured on real RDNA2 hardware (tools/f16_interp_probe.py, 12 hand-written draws, 98,304 pixel samples, Ryzen 5 7600 iGPU / gfx1036, AMD Windows driver 24.10.24):

model samples explained
rdna2 (this PR: f16-rounded deltas, f32 sum, toward-zero narrow) 98,274
same model, nearest-even narrow 62,226
same model, f32 deltas (old translation) 89,993
f16 accumulated sum 86,919

The remaining 30 misses are documented in the docs/design.md row (26 f16-subnormal boundary cases, 4 exact-grid-boundary perspective cases).

Changes:

  • tools/rdna2spirv.py: Gen.f16_round rounds an f32 to the nearest f16 value via integer-built bits + UnpackHalf2x16 (unfooldable per OLD-512/OLD-513); the interpolation weighting rounds P1−P0 / P2−P0 to f16 for 16-bit-channel reads; v_interp_p2_f16 narrows with f16_bits(rtz=True).
  • runtime/test/vk_harness.cpp: VKH_PC_BYTES must be a multiple of 4 (VkPushConstantRange), both-stage capability scan covers Float16/StorageInputOutput16/Float64, VKH_SHADER_INFO=1 dumps driver ISA.
  • tools/f16_interp_probe.py (new measurement tool, hand-written GLSL only), tests/semantic/test_interp_f16_round.py (new), test_interp_p1lv_f16.py oracle updated to the measured model, docs/design.md contract row updated.

Tested

  • py -3.14 -I scripts/run_semantic_tests.py tests/semantic: 471 files, 6,170 tests, 0 failed
  • py -3.14 -m unittest discover -s tests/semantic -p "test_interp*.py": 207 tests OK; -p "test_f16*.py": 49 OK (40 env skips)
  • scripts/check_no_game_data.py on all changed files: clean
  • tools/f16_interp_probe.py --gpu amd re-run after the change: rdna2 model 98,274/98,304 (identical measurement)
  • GPU suite (run_gpu_tests.py): --filter interp 3/3 and --filter f16 20/20 on both GPUs below, LEONIDA_VK_VALIDATION=1 on AMD: 0 validation errors

GPUs tested: AMD Radeon Graphics (Ryzen 5 7600 iGPU, gfx1036-class RDNA2, driver 24.10.24, Vulkan 1.3.280, Windows 11); NVIDIA GeForce RTX 4070 SUPER (driver 610.88, Windows 11)

AI-assisted: yes (Devin)

Checklist

  • Based on current main and merges cleanly
  • One topic; follow-up work goes in a new pull request
  • No game data, keys or decryption — the probe uses hand-written GLSL fixtures only
  • Translator rule change recorded in the docs/design.md contract table with how it was confirmed (on-hardware measurement)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5479101743 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1181). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-24T19:42:37Z. --- Claimed in the coordination issue as: SHADER-468 ([claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7139740114)) Depends on: none ### What and why For a 16-bit (`f16`) interpolation channel, the SPI writes the P10/P20 delta words as **per-half f16 differences** of the two packed halves, and `v_interp_p2_f16` narrows its result **toward zero** (the driver's ISA runs the pair inside `s_round_mode 0x000c`, MODE.FP16_ROUND toward zero — LLVM's SIModeRegister documents the same requirement). The translation used the f32 difference of the decoded halves and narrowed to nearest even. Measured on real RDNA2 hardware (`tools/f16_interp_probe.py`, 12 hand-written draws, 98,304 pixel samples, Ryzen 5 7600 iGPU / gfx1036, AMD Windows driver 24.10.24): | model | samples explained | |---|---| | rdna2 (this PR: f16-rounded deltas, f32 sum, toward-zero narrow) | **98,274** | | same model, nearest-even narrow | 62,226 | | same model, f32 deltas (old translation) | 89,993 | | f16 accumulated sum | 86,919 | The remaining 30 misses are documented in the `docs/design.md` row (26 f16-subnormal boundary cases, 4 exact-grid-boundary perspective cases). Changes: - `tools/rdna2spirv.py`: `Gen.f16_round` rounds an f32 to the nearest f16 value via integer-built bits + `UnpackHalf2x16` (unfooldable per OLD-512/OLD-513); the interpolation weighting rounds P1−P0 / P2−P0 to f16 for 16-bit-channel reads; `v_interp_p2_f16` narrows with `f16_bits(rtz=True)`. - `runtime/test/vk_harness.cpp`: `VKH_PC_BYTES` must be a multiple of 4 (VkPushConstantRange), both-stage capability scan covers Float16/StorageInputOutput16/Float64, `VKH_SHADER_INFO=1` dumps driver ISA. - `tools/f16_interp_probe.py` (new measurement tool, hand-written GLSL only), `tests/semantic/test_interp_f16_round.py` (new), `test_interp_p1lv_f16.py` oracle updated to the measured model, `docs/design.md` contract row updated. ### Tested - `py -3.14 -I scripts/run_semantic_tests.py tests/semantic`: **471 files, 6,170 tests, 0 failed** - `py -3.14 -m unittest discover -s tests/semantic -p "test_interp*.py"`: 207 tests OK; `-p "test_f16*.py"`: 49 OK (40 env skips) - `scripts/check_no_game_data.py` on all changed files: clean - `tools/f16_interp_probe.py --gpu amd` re-run after the change: rdna2 model 98,274/98,304 (identical measurement) - GPU suite (`run_gpu_tests.py`): `--filter interp` 3/3 and `--filter f16` 20/20 on **both** GPUs below, `LEONIDA_VK_VALIDATION=1` on AMD: 0 validation errors GPUs tested: AMD Radeon Graphics (Ryzen 5 7600 iGPU, gfx1036-class RDNA2, driver 24.10.24, Vulkan 1.3.280, Windows 11); NVIDIA GeForce RTX 4070 SUPER (driver 610.88, Windows 11) AI-assisted: yes (Devin) ### Checklist - [x] Based on current `main` and merges cleanly - [x] One topic; follow-up work goes in a new pull request - [x] No game data, keys or decryption — the probe uses hand-written GLSL fixtures only - [x] Translator rule change recorded in the `docs/design.md` contract table with how it was confirmed (on-hardware measurement)
abnalstlll-byte commented 2026-11-24 19:45:00 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T19:45:00Z.

Review: APPROVED


### Clean-Room & Technical Verification

  • Mergeability: Clean 3-way merge against upstream main (6293c1c4f), zero merge conflicts.
  • Clean-Room Compliance: 100% compliant with clean-room requirements. Hand-written GLSL fixtures only; no game data, retail binaries, or keys.
  • Hardware & ISA Fidelity:
    • Gen.f16_round correctly unpacks integer-built bits via UnpackHalf2x16, avoiding folding regressions across driver optimization passes.
    • Per-half f16 difference rounding in attribute() accurately reflects SPI parameter writing behavior for 16-bit channels.
    • v_interp_p2_f16 forced RTZ (rtz=True) directly aligns with AMD driver hardware mode register settings (s_round_mode 0x000c) around the interpolation pair.
    • Comprehensive hardware validation (98,274 / 98,304 samples explained on RDNA2 gfx1036).
  • Test Coverage:
    • tests/semantic/test_interp_f16_round.py: 2/2 passed.
    • tests/semantic/test_interp_p1lv_f16.py: 36/36 passed.
    • Contract documented in docs/design.md.

LGTM! Approved.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6046180922 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1181#pullrequestreview-6046180922). Originally posted by [abnalstlll-byte](https://github.com/abnalstlll-byte) on 2026-11-24T19:45:00Z. **Review:** APPROVED --- ### Clean-Room & Technical Verification - **Mergeability**: Clean 3-way merge against upstream `main` (`6293c1c4f`), zero merge conflicts. - **Clean-Room Compliance**: 100% compliant with clean-room requirements. Hand-written GLSL fixtures only; no game data, retail binaries, or keys. - **Hardware & ISA Fidelity**: - `Gen.f16_round` correctly unpacks integer-built bits via `UnpackHalf2x16`, avoiding folding regressions across driver optimization passes. - Per-half f16 difference rounding in `attribute()` accurately reflects SPI parameter writing behavior for 16-bit channels. - `v_interp_p2_f16` forced RTZ (`rtz=True`) directly aligns with AMD driver hardware mode register settings (`s_round_mode 0x000c`) around the interpolation pair. - Comprehensive hardware validation (98,274 / 98,304 samples explained on RDNA2 `gfx1036`). - **Test Coverage**: - `tests/semantic/test_interp_f16_round.py`: 2/2 passed. - `tests/semantic/test_interp_p1lv_f16.py`: 36/36 passed. - Contract documented in `docs/design.md`. LGTM! Approved.
Deedlyy commented 2026-11-24 20:09:34 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Deedlyy on 2026-11-24T20:09:34Z.


Recommendation: [WAIT]

Reasoning: f16 interpolation now uses per-half f16 P10/P20 deltas and toward-zero narrowing in v_interp_p2_f16, which the author measured on real RDNA2 with a new 313-line probe tool, and the vk harness is extended. It's a precision change to every f16 interpolant, and nobody has independently reproduced it. Before merging, someone should run the new semantic tests and the probe/harness on a second GPU (ideally another RDNA2 and one non-AMD) to confirm the measurement. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with main.

Impact level: 5/10

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7143123516 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1181#issuecomment-7143123516). Originally posted by [Deedlyy](https://github.com/Deedlyy) on 2026-11-24T20:09:34Z. --- **Recommendation:** [WAIT] **Reasoning:** f16 interpolation now uses per-half f16 P10/P20 deltas and toward-zero narrowing in `v_interp_p2_f16`, which the author measured on real RDNA2 with a new 313-line probe tool, and the vk harness is extended. It's a precision change to every f16 interpolant, and nobody has independently reproduced it. Before merging, someone should run the new semantic tests and the probe/harness on a second GPU (ideally another RDNA2 and one non-AMD) to confirm the measurement. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with `main`. **Impact level:** 5/10
madhyn commented 2026-11-24 20:10:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by madhyn on 2026-11-24T20:10:19Z.


Verified af76fefad on Arch Linux (Python 3.14):

  • PYTHONPATH=tests/semantic python3 -m unittest tests/semantic/test_interp_f16_round.py tests/semantic/test_interp_p1lv_f16.py: 38 tests passed (0.109 s)

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7143141228 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1181#issuecomment-7143141228). Originally posted by [madhyn](https://github.com/madhyn) on 2026-11-24T20:10:19Z. --- Verified `af76fefad` on Arch Linux (Python 3.14): - `PYTHONPATH=tests/semantic python3 -m unittest tests/semantic/test_interp_f16_round.py tests/semantic/test_interp_p1lv_f16.py`: **38 tests passed** (0.109 s) AI-assisted: yes
tiguan26 commented 2026-11-25 18:22:41 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by tiguan26 on 2026-11-25T18:22:41Z.

Review: APPROVED


Approving e4eed02. Merged into current main (b9320a1) with no conflicts. The full translator suite, including the new test_interp_f16_round.py and the updated test_interp_p1lv_f16.py, gives 491 files / 6,294 tests with only test_int32_to_f64 failing, the same baseline failure as main here (Linux, Python 3.13).

The translator change matches the model the probe selects. P10/P20 of a 16-bit channel are rounded to f16 through f16_bits, so no driver can fold the round trip away, while the weights and sum stay f32. v_interp_p2_f16 now narrows toward zero regardless of MODE, which follows from the s_round_mode 0x000c the AMD compiler puts around the pair. I can't repeat the gfx1036 measurement here; the code does what the write-up says it measured.

AI-assisted (Claude).

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6062813526 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1181#pullrequestreview-6062813526). Originally posted by [tiguan26](https://github.com/tiguan26) on 2026-11-25T18:22:41Z. **Review:** APPROVED --- Approving e4eed02. Merged into current main (b9320a1) with no conflicts. The full translator suite, including the new `test_interp_f16_round.py` and the updated `test_interp_p1lv_f16.py`, gives 491 files / 6,294 tests with only `test_int32_to_f64` failing, the same baseline failure as main here (Linux, Python 3.13). The translator change matches the model the probe selects. P10/P20 of a 16-bit channel are rounded to f16 through `f16_bits`, so no driver can fold the round trip away, while the weights and sum stay f32. `v_interp_p2_f16` now narrows toward zero regardless of MODE, which follows from the `s_round_mode 0x000c` the AMD compiler puts around the pair. I can't repeat the gfx1036 measurement here; the code does what the write-up says it measured. AI-assisted (Claude).
whoalin1 commented 2026-11-25 19:08:19 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T19:08:19Z.


Real-hardware probe results on e4eed0218 (current head):

AMD RDNA2 iGPU (AMD Radeon(TM) Graphics, subgroup 32..64), 98,304 samples over 12 draws:

model explained
rdna2 98,274/98,304
translator_rne 62,226/98,304
translator_rtz 89,993/98,304
f16_acc 86,919/98,304

The remaining 30 rdna2 misses are the already-described corner cases: subnormal-range values and exact f16-grid/perspective-weight cases. The next-best model is still 8,281 samples behind, so this strongly supports the implemented per-half f16 delta + f32 weighted sum + toward-zero p2 narrow model rather than the old RNE model.

NVIDIA RTX 4070 SUPER: the probe cannot run on this device because it reports no storageInputOutput16; with the harness guard in this branch it exits honestly as unsupported instead of crashing or producing meaningless data:

unsupported: ps.spv uses 16-bit shader input/output and the device has no storageInputOutput16

vk_harness rebuilt cleanly (BUILD_RC=0). Logs are local in leonida-s468/.scratch/f16_{amd,nv}.log. AI-assisted verification with Devin.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7171870041 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1181#issuecomment-7171870041). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-25T19:08:19Z. --- Real-hardware probe results on `e4eed0218` (current head): **AMD RDNA2 iGPU** (`AMD Radeon(TM) Graphics`, subgroup 32..64), 98,304 samples over 12 draws: | model | explained | | --- | ---: | | `rdna2` | 98,274/98,304 | | `translator_rne` | 62,226/98,304 | | `translator_rtz` | 89,993/98,304 | | `f16_acc` | 86,919/98,304 | The remaining 30 `rdna2` misses are the already-described corner cases: subnormal-range values and exact f16-grid/perspective-weight cases. The next-best model is still 8,281 samples behind, so this strongly supports the implemented per-half f16 delta + f32 weighted sum + toward-zero p2 narrow model rather than the old RNE model. **NVIDIA RTX 4070 SUPER**: the probe cannot run on this device because it reports no `storageInputOutput16`; with the harness guard in this branch it exits honestly as unsupported instead of crashing or producing meaningless data: ```text unsupported: ps.spv uses 16-bit shader input/output and the device has no storageInputOutput16 ``` `vk_harness` rebuilt cleanly (`BUILD_RC=0`). Logs are local in `leonida-s468/.scratch/f16_{amd,nv}.log`. AI-assisted verification with Devin.
zmasi commented 2026-11-28 22:44:00 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T22:44:00Z.


Windows 11 + NVIDIA GeForce RTX 3090 + Khronos Validation Verification (e4eed0218d)

Verified e4eed0218dd72369c53c9cdc163ef178617a0e45 merged cleanly onto main (adfb3821a) on native Windows 11 (10.0.26200, MSVC 19.44.35228, CPython 3.12.10) and NVIDIA GeForce RTX 3090 (subgroup 32..32, Vulkan 1.4, VK_LAYER_KHRONOS_validation 1.4.363.1), with zero game data.

Red -> Green Verification

  • Red (main):
    • test_p10_is_an_f16_difference: -65504.0 to 1000.0 at i = 0.25 returns finite 0xf9f7 instead of 0x7c00 (+inf).
    • test_p2_narrows_toward_zero: 0.4 * 3.0 returns nearest-even 0x3ccd instead of toward-zero 0x3ccc.
  • Green (main + #1181):
    • PYTHONPATH=tests/semantic python -I -m unittest tests/semantic/test_interp_f16_round.py tests/semantic/test_interp_p1lv_f16.py -v: 38/38 OK (0.598s).
    • Translated vs_f16_pack + ps_interp_f16_high on physical NVIDIA GeForce RTX 3090 under VK_LAYER_KHRONOS_validation 1.4.363.1: ps_interp_f16_high ok (0 validation errors).
    • vk_harness.cpp needs_io16 guard (lines 329-330, 460-467): on NVIDIA desktop Vulkan (RTX 3090), VkPhysicalDeviceVulkan11Features::storageInputOutput16 is VK_FALSE, and vk_harness cleanly detects OpCapability StorageInputOutput16 (4436) and exits 77 (unsupported: ... uses 16-bit shader input/output and the device has no storageInputOutput16) instead of failing VkDevice / VkPipeline creation.
    • Documentation & hygiene: test_docs_design_rows.py (5/5 OK), test_docs_table_rows.py (2/2 OK), test_docs_encoding.py (1/1 OK), and check_no_game_data.py all pass.

Two Non-Blocking Findings in tools/f16_interp_probe.py (Observed Live on RTX 3090)

  1. Exit code 1 instead of 77 on UNSUPPORTED (tools/f16_interp_probe.py:242-243):
    • The module docstring states "exits 77 when either is missing or the device has no 16-bit shader input/output", and vk_harness correctly returns 77 on desktop NVIDIA GPUs lacking storageInputOutput16. However, run_draw executes raise SystemExit(f"SKIP: {r.stderr.strip()}"), and passing a string to SystemExit causes Python to exit with code 1 rather than UNSUPPORTED (77). Printing to sys.stderr and raising SystemExit(UNSUPPORTED) preserves exit code 77.
  2. Hardcoded "LEONIDA_VK_DEVICE": "4070" in GPU_ENV["nv"] (tools/f16_interp_probe.py:85):
    • Passing --gpu nv on an RTX 3090 (or any non-4070 NVIDIA card) fails immediately with LEONIDA_VK_DEVICE=4070: no Vulkan physical device matches (rc=1). Dropping "LEONIDA_VK_DEVICE": "4070" (or matching "nvidia" / "geforce" / "rtx") lets --gpu nv select any NVIDIA adapter via VK_LOADER_DRIVERS_SELECT.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7246942231 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1181#issuecomment-7246942231). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T22:44:00Z. --- ### Windows 11 + NVIDIA GeForce RTX 3090 + Khronos Validation Verification (`e4eed0218d`) Verified `e4eed0218dd72369c53c9cdc163ef178617a0e45` merged cleanly onto `main` (`adfb3821a`) on native Windows 11 (`10.0.26200`, MSVC `19.44.35228`, CPython `3.12.10`) and **NVIDIA GeForce RTX 3090** (subgroup `32..32`, Vulkan `1.4`, `VK_LAYER_KHRONOS_validation` `1.4.363.1`), with zero game data. #### Red -> Green Verification - **Red (`main`)**: - `test_p10_is_an_f16_difference`: `-65504.0` to `1000.0` at `i = 0.25` returns finite `0xf9f7` instead of `0x7c00` (`+inf`). - `test_p2_narrows_toward_zero`: `0.4 * 3.0` returns nearest-even `0x3ccd` instead of toward-zero `0x3ccc`. - **Green (`main + #1181`)**: - `PYTHONPATH=tests/semantic python -I -m unittest tests/semantic/test_interp_f16_round.py tests/semantic/test_interp_p1lv_f16.py -v`: **`38/38 OK`** (`0.598s`). - Translated `vs_f16_pack` + `ps_interp_f16_high` on physical **NVIDIA GeForce RTX 3090** under `VK_LAYER_KHRONOS_validation` `1.4.363.1`: **`ps_interp_f16_high ok`** (`0` validation errors). - `vk_harness.cpp` `needs_io16` guard (`lines 329-330, 460-467`): on NVIDIA desktop Vulkan (`RTX 3090`), `VkPhysicalDeviceVulkan11Features::storageInputOutput16` is `VK_FALSE`, and `vk_harness` cleanly detects `OpCapability StorageInputOutput16` (`4436`) and exits `77` (`unsupported: ... uses 16-bit shader input/output and the device has no storageInputOutput16`) instead of failing `VkDevice` / `VkPipeline` creation. - Documentation & hygiene: `test_docs_design_rows.py` (`5/5 OK`), `test_docs_table_rows.py` (`2/2 OK`), `test_docs_encoding.py` (`1/1 OK`), and `check_no_game_data.py` all pass. #### Two Non-Blocking Findings in `tools/f16_interp_probe.py` (Observed Live on RTX 3090) 1. **Exit code `1` instead of `77` on `UNSUPPORTED` (`tools/f16_interp_probe.py:242-243`)**: - The module docstring states `"exits 77 when either is missing or the device has no 16-bit shader input/output"`, and `vk_harness` correctly returns `77` on desktop NVIDIA GPUs lacking `storageInputOutput16`. However, `run_draw` executes `raise SystemExit(f"SKIP: {r.stderr.strip()}")`, and passing a string to `SystemExit` causes Python to exit with code **`1`** rather than `UNSUPPORTED` (`77`). Printing to `sys.stderr` and raising `SystemExit(UNSUPPORTED)` preserves exit code `77`. 2. **Hardcoded `"LEONIDA_VK_DEVICE": "4070"` in `GPU_ENV["nv"]` (`tools/f16_interp_probe.py:85`)**: - Passing `--gpu nv` on an `RTX 3090` (or any non-4070 NVIDIA card) fails immediately with `LEONIDA_VK_DEVICE=4070: no Vulkan physical device matches` (`rc=1`). Dropping `"LEONIDA_VK_DEVICE": "4070"` (or matching `"nvidia"` / `"geforce"` / `"rtx"`) lets `--gpu nv` select any NVIDIA adapter via `VK_LOADER_DRIVERS_SELECT`. AI-assisted.
OreoFR commented 2026-11-29 03:00:07 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T03:00:07Z.


Verified by OreoFR

  • Base: main 48bae6cad + PR head e4eed0218 (tested as a merge; it also merges without conflict on the newer main 5825b02ff)
  • Test: test_interp_f16_round.py, test_interp_p1lv_f16.py (tests/semantic); translator suite; vk_harness built
  • Red on main: test_interp_f16_round 2 FAIL (0x3ccd != 0x3ccc toward-zero p2, p10 difference), test_interp_p1lv_f16 5 FAIL of 36 (off-by-one f16 results); translator suite on main: 526 files, 6506 tests, 1 file failing (test_valu_cvt_f16_int16_mods, a known main failure)
  • Green with the PR: 2 OK, 36 OK; vk_harness compiles; translator suite 527 files, 6508 tests, same single known failure, no new one
  • gta6rt link: OK (gta6rt.exe builds and links; dumpbin /dependents shows the same DLLs as main, no network DLL)
  • Verdict: READY (GPU interpolation checks not run: the GPU was busy with another job)
  • Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7249777845 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1181#issuecomment-7249777845). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T03:00:07Z. --- **Verified by OreoFR** - Base: main `48bae6cad` + PR head `e4eed0218` (tested as a merge; it also merges without conflict on the newer main `5825b02ff`) - Test: `test_interp_f16_round.py`, `test_interp_p1lv_f16.py` (tests/semantic); translator suite; `vk_harness` built - Red on main: `test_interp_f16_round` 2 FAIL (`0x3ccd != 0x3ccc` toward-zero p2, p10 difference), `test_interp_p1lv_f16` 5 FAIL of 36 (off-by-one f16 results); translator suite on main: 526 files, 6506 tests, 1 file failing (`test_valu_cvt_f16_int16_mods`, a known main failure) - Green with the PR: 2 OK, 36 OK; `vk_harness` compiles; translator suite 527 files, 6508 tests, same single known failure, no new one - gta6rt link: OK (`gta6rt.exe` builds and links; `dumpbin /dependents` shows the same DLLs as main, no network DLL) - Verdict: READY (GPU interpolation checks not run: the GPU was busy with another job) - Machine: RTX 4070 Laptop 8 GB, NVIDIA 621.40, Intel Core Ultra 7 155H, Windows 11 AI-assisted (Claude Code, Claude Opus 5.5).
DadaCap commented 2026-11-29 03:36:35 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-29T03:36:35Z.


Merging, thank you @whoalin1! OreoFR's agent verified this head merged with current main: the test fails on main and passes with the PR (https://github.com/ProjectLeonida/mandy/pull/1181#issuecomment-7249777845), and it still merges cleanly.

AI-assisted (Claude Code, Claude Opus 5.5), on behalf of DadaCap.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7250151495 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/1181#issuecomment-7250151495). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-29T03:36:35Z. --- Merging, thank you @whoalin1! OreoFR's agent verified this head merged with current main: the test fails on main and passes with the PR (https://github.com/ProjectLeonida/mandy/pull/1181#issuecomment-7249777845), and it still merges cleanly. AI-assisted (Claude Code, Claude Opus 5.5), on behalf of 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!1181
No description provided.