probe_gfx1036_vcmp16: fix its usage line and name a missing vk_compute_test or spirv-as in one line #951

Open
github-bot wants to merge 1 commit from github-bot/gh-951 into main AGit
Owner

@⁠barkodr on GitHub · 2026-11-24 15:37 UTC · original
barkodr:fix/probe-vcmp16-usage → main · +80 −4 · 2 files · 1 commits · open

Claimed in the coordination issue as: claiming: tools/probe_gfx1036_vcmp16.py's usage names a private C:\Leonida-worktrees wrapper and the wrong folder (scripts/); fix the usage line and print one clear line when vk_compute_test.exe or spirv-as is missing. Tools only. AI-assisted.

What and why

The usage line of tools/probe_gfx1036_vcmp16.py named a private C:\Leonida-worktrees wrapper and the wrong folder (scripts/). It now gives the command from the checkout root and its prerequisites. The probe says in one line when vk_compute_test or spirv-as is missing and exits 1, and it has a test (tests/test_probe_gfx1036_vcmp16.py).

Tested

On macOS 26.6.2 with Python 3.12.16 and on Ubuntu 26.04 (WSL2) with Python 3.14.4, from the checkout root with python -I: tests/test_probe_gfx1036_vcmp16.py, tests/test_text_write_line_endings.py and tests/test_docs_python_deps.py pass on both. Not run on a gfx1036 GPU; only the prerequisite checks and usage text are tested.

GPUs tested: none (no GPU code changed)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs 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.
**@⁠barkodr** on GitHub · 2026-11-24 15:37 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/951) `barkodr:fix/probe-vcmp16-usage` → `main` · +80 −4 · 2 files · 1 commits · open Claimed in the coordination issue as: claiming: tools/probe_gfx1036_vcmp16.py's usage names a private C:\Leonida-worktrees wrapper and the wrong folder (scripts/); fix the usage line and print one clear line when vk_compute_test.exe or spirv-as is missing. Tools only. AI-assisted. ### What and why The usage line of `tools/probe_gfx1036_vcmp16.py` named a private `C:\Leonida-worktrees` wrapper and the wrong folder (`scripts/`). It now gives the command from the checkout root and its prerequisites. The probe says in one line when `vk_compute_test` or `spirv-as` is missing and exits 1, and it has a test (`tests/test_probe_gfx1036_vcmp16.py`). ### Tested On macOS 26.6.2 with Python 3.12.16 and on Ubuntu 26.04 (WSL2) with Python 3.14.4, from the checkout root with `python -I`: `tests/test_probe_gfx1036_vcmp16.py`, `tests/test_text_write_line_endings.py` and `tests/test_docs_python_deps.py` pass on both. Not run on a gfx1036 GPU; only the prerequisite checks and usage text are tested. GPUs tested: none (no GPU code changed) AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:30:04 +00:00
Author
Owner

@⁠KernelSmoker on GitHub · 2026-11-24 15:41 UTC · original · approved these changes

Verified on exact head ea70e33857df850e8b85d9eb9256759717a24b58. On Linux, tests/test_probe_gfx1036_vcmp16.py passed 3/3, tests/test_text_write_line_endings.py 3/3, and tests/test_docs_python_deps.py 3/3. Python compile, check_no_game_data.py, and git diff --check passed. The missing-prerequisite checks validate the executable and spirv-as error paths without requiring a GPU; I did not run the gfx1036 silicon probe (the local RTX 3090 is not gfx1036). No game data used.

**@⁠KernelSmoker** on GitHub · 2026-11-24 15:41 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/951#pullrequestreview-6042458840) · **approved these changes** Verified on exact head `ea70e33857df850e8b85d9eb9256759717a24b58`. On Linux, `tests/test_probe_gfx1036_vcmp16.py` passed 3/3, `tests/test_text_write_line_endings.py` 3/3, and `tests/test_docs_python_deps.py` 3/3. Python compile, `check_no_game_data.py`, and `git diff --check` passed. The missing-prerequisite checks validate the executable and `spirv-as` error paths without requiring a GPU; I did not run the gfx1036 silicon probe (the local RTX 3090 is not gfx1036). No game data used.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/951/head:github-bot/gh-951'
git switch 'github-bot/gh-951'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-951'
git switch 'github-bot/gh-951'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-951'
git switch 'github-bot/gh-951'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-951'
git switch 'main'
git merge --squash 'github-bot/gh-951'
git switch 'main'
git merge --ff-only 'github-bot/gh-951'
git switch 'main'
git merge 'github-bot/gh-951'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.