mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:35:52 +01:00
[PR #295] [CLOSED] test: unit tests for tools/probe_gfx1036_vcmp16.py #346
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#346
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/295
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/10027📝 Commits (1)
41d8737test: unit tests for tools/probe_gfx1036_vcmp16.py📊 Changes
1 file changed (+361 additions, -0 deletions)
View changed files
➕
tests/test_probe_gfx1036_vcmp16.py(+361 -0)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claimed in the coordination issue as: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116996049
What and why
Adds standalone
stdlib-onlyunit tests (tests/test_probe_gfx1036_vcmp16.py) fortools/probe_gfx1036_vcmp16.py(CPU-only, no GPU or LLVM required).pack16packing/masking, IEEE-754 binary16 constants,run_on_siliconinput/output handling and non-zero exit behavior, CPU smoke translation, and all probe functions via a fake silicon oracle.v_cmpxEXEC bits, wrongop_selbits, and unavailable runner errors are caught.Tested
AI-assisted.
Ran on Windows 11 (Python 3.12.10, stdlib-only):
python -I tests/test_probe_gfx1036_vcmp16.py -v->Ran 11 tests in 0.016s — OKpython -I -m compileall -q make_game.py tools tests-> exit code 0Checklist
tools/rdna2spirv.py).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.