[PR #171] [CLOSED] GPU test cs_w32_pk_rel_ext: packed 16-bit ints, v_swaprel, s_movrels, ds_or/xor_b64 #223

Closed
opened 2026-11-26 20:17:11 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/171
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: old-pr/9906


📝 Commits (7)

  • 3fc45ce GPU test cs_w32_pk_rel_ext: packed 16-bit ints, v_swaprel, s_movrels, ds_or/xor_b64
  • 0403988 cs_w32_pk_rel_ext: run the LDS ops in lane 0 only
  • 4903104 test_pk_rel_ext_fixture: runs under python -I
  • 30ab4a5 Merge remote-tracking branch 'origin/main' into HEAD
  • 25e811f Merge remote-tracking branch 'origin/main' into HEAD
  • 9ad8ea6 Merge remote-tracking branch 'origin/main' into HEAD
  • 4c479bd Merge remote-tracking branch 'origin/main' into HEAD

📊 Changes

5 files changed (+252 additions, -3 deletions)

View changed files

📝 runtime/test/shaders/check.py (+3 -1)
➕ runtime/test/shaders/cs_w32_pk_rel_ext.asm (+78 -0)
📝 scripts/run_gpu_tests.py (+4 -2)
➕ tests/semantic/fixtures/disasm/cs_w32_pk_rel_ext.s (+62 -0)
➕ tests/semantic/test_pk_rel_ext_fixture.py (+105 -0)

📄 Description

Carried over from old PR 9906 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9906, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

A GPU test in the cs_w32_*_ext format for four merged changes that only had CPU checks: the packed 16-bit integer ops (#1649), v_swaprel_b32 (#1673), s_movrels_b32 (#1598) and the bitwise ds_*_b64 atomics (#1539).

Re-submission of #1850. #1850 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #1850 by: tumbione (RTX 5090), tylerstraub (RTX 5090), umnitus (RTX 3060 12 GB), TreXito (RTX 3060 Ti), tedin7 (RTX 5080), tunczzz (RTX 5070 Ti), bunbeans2-arch (RX 9070 XT), searyecheesepeaceful (UHD Graphics 630), Mortify7612 (AMD Radeon RX 9060 XT), Itschotsch (RTX 4090), moffington (RTX 3060), lukasas74 (RTX 5080) and 4 more.

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/171 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `old-pr/9906` --- ### 📝 Commits (7) - [`3fc45ce`](https://github.com/ubiquitarianism/leonida/commit/3fc45cefdf00b1bf646a7f83d4eb510997376b3d) GPU test cs_w32_pk_rel_ext: packed 16-bit ints, v_swaprel, s_movrels, ds_or/xor_b64 - [`0403988`](https://github.com/ubiquitarianism/leonida/commit/0403988b079e002dac2173105ac5567bdc05f5fe) cs_w32_pk_rel_ext: run the LDS ops in lane 0 only - [`4903104`](https://github.com/ubiquitarianism/leonida/commit/4903104641e95097fef4b1c8a7a2f6b71c5b4900) test_pk_rel_ext_fixture: runs under python -I - [`30ab4a5`](https://github.com/ubiquitarianism/leonida/commit/30ab4a5ed33fc35ae49e8a226b999d3c1485a88c) Merge remote-tracking branch 'origin/main' into HEAD - [`25e811f`](https://github.com/ubiquitarianism/leonida/commit/25e811ffde0d975e0992f65a1418e9f1504a0e03) Merge remote-tracking branch 'origin/main' into HEAD - [`9ad8ea6`](https://github.com/ubiquitarianism/leonida/commit/9ad8ea6cc6736b88b6469398b664c5868ed4c0d0) Merge remote-tracking branch 'origin/main' into HEAD - [`4c479bd`](https://github.com/ubiquitarianism/leonida/commit/4c479bdb5f1a8d9db36dba7e248f375c644bdd17) Merge remote-tracking branch 'origin/main' into HEAD ### 📊 Changes **5 files changed** (+252 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/shaders/check.py` (+3 -1) ➕ `runtime/test/shaders/cs_w32_pk_rel_ext.asm` (+78 -0) 📝 `scripts/run_gpu_tests.py` (+4 -2) ➕ `tests/semantic/fixtures/disasm/cs_w32_pk_rel_ext.s` (+62 -0) ➕ `tests/semantic/test_pk_rel_ext_fixture.py` (+105 -0) </details> ### 📄 Description > Carried over from **old PR 9906** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9906`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `LouisRiverstone`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): A GPU test in the `cs_w32_*_ext` format for four merged changes that only had CPU checks: the packed 16-bit integer ops (`#1649`), `v_swaprel_b32` (`#1673`), `s_movrels_b32` (`#1598`) and the bitwise `ds_*_b64` atomics (`#1539`). Re-submission of `#1850`. `#1850` was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current `main`. Checked on `#1850` by: tumbione (RTX 5090), tylerstraub (RTX 5090), umnitus (RTX 3060 12 GB), TreXito (RTX 3060 Ti), tedin7 (RTX 5080), tunczzz (RTX 5070 Ti), bunbeans2-arch (RX 9070 XT), searyecheesepeaceful (UHD Graphics 630), Mortify7612 (AMD Radeon RX 9060 XT), Itschotsch (RTX 4090), moffington (RTX 3060), lukasas74 (RTX 5080) and 4 more. No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:17:11 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#223
No description provided.